AttributeWeights Structure
Language: Visual Basic .NET C# Managed C++ JScript .NET (Show All)
Note: This documentation is preliminary and is subject to change.
Specifies mesh weight attributes.
Definition
Visual Basic .NET
Public Structure AttributeWeights
C#
public struct AttributeWeights
Managed C++
public __value struct AttributeWeights
JScript .NET
In JScript .NET, you can use structures, but you cannot define your own.
Members Table
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
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.2902.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35
See Also
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center