![]() |
![]() |
![]() |
AttributeWeights.TextureCoordinate Property |
Language: |
Retrieves or sets a numerical value that indicates the degree to which texture coordinate data is used in simplification operations.
Visual Basic .NET Public Property TextureCoordinate As Single() C# public float[] TextureCoordinate { get; set; } Managed C++ public: __property float get_TextureCoordinate();
public: __property void set_TextureCoordinate(float);JScript .NET public function get TextureCoordinate() : float[]
public function set TextureCoordinate(float[]);
This property is read/write.
If the TextureCoordinate field is 0.0, the simplification operation ignores the texture coordinate component when it calculates the error for collapsing the edges of a mesh. However, if the TextureCoordinate field is 1.0, the simplification operation uses the texture coordinate component. If the TextureCoordinate field is 2.0, double the amount of errors; if it is 4.0, quadruple the number of errors, and so on.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center