Microsoft DirectX 9.0 SDK Update (October 2004)

AttributeWeights.Tangent Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets a numerical value that indicates the degree to which tangent data is used in simplification operations.

Definition

Visual Basic .NET Public Property Tangent As Single
C# public float Tangent { get; set; }
Managed C++ public: __property float get_Tangent();
public: __property void set_Tangent(float);
JScript .NET public function get Tangent() : float
public function set Tangent(float);

Property Value

System.Single . A Single Leave Site value that indicates the degree to which tangent data is used in simplification operations.

This property is read/write. 

Remarks

If the Tangent field is 0.0, the simplification operation ignores the tangent component when it calculates the error for collapsing the edges of a mesh. However, if the Tangent field is 1.0, the simplification operation uses the tangent component. If the Tangent field is 2.0, double the amount of errors; if it is 4.0, quadruple the number of errors, and so on.

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