AttributeWeights Structure (Microsoft.DirectX.Direct3D)

Specifies mesh weight attributes.

Definition

Visual Basic Public Structure AttributeWeights
C# public struct AttributeWeights 
C++ public value class AttributeWeights sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
AttributeWeights Creates a new instance of the AttributeWeights structure.
ToString Obtains a string representation of the current instance.

Properties

Property Description
Binormal Retrieves or sets a numerical value that indicates the degree to which binormal data is used in simplification operations.
Boundary Retrieves or sets a numerical value that indicates the degree to which boundary data is used in simplification operations.
Diffuse Retrieves or sets a numerical value that indicates the degree to which diffuse data is used in simplification operations.
Normal Retrieves or sets a numerical value that indicates the degree to which normal data is used in simplification operations.
Position Retrieves or sets a numerical value that indicates the degree to which position data is used in simplification operations.
Specular Retrieves or sets a numerical value that indicates the degree to which specular data is used in simplification operations.
Tangent Retrieves or sets a numerical value that indicates the degree to which tangent data is used in simplification operations.
TextureCoordinate Retrieves or sets a numerical value that indicates the degree to which texture coordinate data is used in simplification operations.

Remarks

This structure describes how a simplification operation considers vertex data when calculating relative costs between collapsing edges. For example, if the Normal field is 0.0, the simplification operation ignores the vertex normal component when it calculates the error for the collapse. However, if the Normal field is 1.0, the simplification operation uses the vertex normal component. If the Normal field is 2.0, double the amount of errors; if the Binormal field is 4.0, quadruple the number of errors, and so on.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

See Also