AttributeWeights.Normal Property |
Language: |
Retrieves or sets a numerical value that indicates the degree to which normal data is used in simplification operations.
Visual Basic Public Property Normal As Single C# public float Normal { get; set; } C++ public:
property float Normal {
float get();
void set(float value);
}JScript public function get Normal() : float
public function set Normal(float);
System.Single
This property is read/write.
A Single value that indicates the degree to which normal data is used in simplification operations.
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 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