Share via


AttributeWeights.Normal Property (Microsoft.DirectX.Direct3D)

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

Definition

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);

Property Value

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

This property is read/write. 

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 it is 4.0, quadruple the number of errors, and so on.

See Also