Compartilhar via


BaseMesh.DrawSubset Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Draws a subset of a mesh.

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

Syntax

'Declaration
Public Sub DrawSubset ( _
    attributeId As Integer _
)
'Usage
Dim instance As BaseMesh
Dim attributeId As Integer

instance.DrawSubset(attributeId)
public void DrawSubset(
    int attributeId
)
public:
void DrawSubset(
    int attributeId
)
member DrawSubset : 
        attributeId:int -> unit 

Parameters

  • attributeId
    Type: System.Int32
    An integer that specifies which subset of the mesh to draw. This value is used to differentiate faces in a mesh as belonging to one or more attribute groups.

Exceptions

Exception Condition
InvalidCallException

The call is invalid, such as an invalid method parameter.

Remarks

An attribute table is used to identify areas of the mesh that need to be drawn with different textures, render states and materials. The application can use the attribute table to hide portions of a mesh by leaving out a given attribute identifier, attributeID, when drawing the frame. Attribute tables can also be used for application defined purposes.

.NET Framework Security

Platforms

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

BaseMesh Class

BaseMesh Members

Microsoft.WindowsMobile.DirectX.Direct3D Namespace