RenderStateManager.TwoSidedStencilMode Property |
Language: |
Enables or disables two-sided stenciling.
Visual Basic Public Property TwoSidedStencilMode As Boolean C# public bool TwoSidedStencilMode { get; set; } C++ public:
property bool TwoSidedStencilMode {
bool get();
void set(bool value);
}JScript public function get TwoSidedStencilMode() : boolean
public function set TwoSidedStencilMode(boolean);
System.Boolean
This property is read/write.
Set to true to enable two-sided stenciling, or false to disable it.
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.