Condividi tramite


RenderStateManager.CullMode Property

Specifies how back-facing triangles are culled, if at all.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property CullMode As Cull
'Usage
Dim instance As RenderStateManager
Dim value As Cull

value = instance.CullMode

instance.CullMode = value
public Cull CullMode { get; set; }
public:
property Cull CullMode {
    Cull get ();
    void set (Cull value);
}
/** @property */
public Cull get_CullMode ()

/** @property */
public void set_CullMode (Cull value)
public function get CullMode () : Cull

public function set CullMode (value : Cull)
Not applicable.

Property Value

Value of the Cull enumeration that specifies the culling mode to set or retrieve. The default value is CounterClockwise.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

RenderStateManager Class
RenderStateManager Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace