AttributeRange.AttributeId Property

Language:

Retrieves or sets the attribute table identifier.

Definition

Visual Basic Public Property AttributeId As Integer
C# public int AttributeId { get; set; }
C++ public:
property int AttributeId {
        int get();
        void set(int value);
}
JScript public function get AttributeId() : int
public function set AttributeId(int);

Property Value

System.Int32
An Int32 Leave Site value that specifies the number used to identify the attribute table entry.

This property is read/write. 

Remarks

An attribute table is used to identify areas of the mesh that need to be drawn with different textures, render states, and materials. In addition, an application can use the attribute table to hide portions of a mesh by not drawing a given attribute identifier (attributeID) when it draws the frame. Attribute tables also can be used to identify application-defined areas of a mesh that are handled by custom code.

See Also


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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