RenderStateManager.TwoSidedStencilMode Property |
Language: |
Enables or disables two-sided stenciling.
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);
System.Boolean . Set to true to enable two-sided stenciling, or false to disable it.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.