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