RenderStateManager.TwoSidedStencilMode Property

Language:

Note: This documentation is preliminary and is subject to change.

Enables or disables two-sided stenciling.

Definition

Visual Basic .NET Public Property TwoSidedStencilMode As Boolean
C# public bool TwoSidedStencilMode { get; set; }
Managed C++ public: __property bool get_TwoSidedStencilMode();
public: __property void set_TwoSidedStencilMode(bool);
JScript .NET public function get TwoSidedStencilMode() : boolean
public function set TwoSidedStencilMode(boolean);

Property Value

System.Boolean . Set to true to enable two-sided stenciling, or false to disable it.

This property is read/write. 

Remarks

The application should set RenderStateManager.CullMode to Cull.None to enable two-sided stencil mode. If the triangle winding order is clockwise, the RenderStateManager.Stencil* operations are used. If the winding order is counterclockwise, the RenderStateManager.CounterClockwiseStencil* operations are used.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.