![]() |
![]() |
![]() |
AttributeWeights.Diffuse Property |
Language: |
Retrieves or sets a numerical value that indicates the degree to which diffuse data is used in simplification operations.
Visual Basic .NET Public Property Diffuse As Single C# public float Diffuse { get; set; } Managed C++ public: __property float get_Diffuse();
public: __property void set_Diffuse(float);JScript .NET public function get Diffuse() : float
public function set Diffuse(float);
System.Single . A Single
This property is read/write.value that indicates the degree to which diffuse data is used in simplification operations.
If the Diffuse field is 0.0, the simplification operation ignores the diffuse component when it calculates the error for collapsing the edges of a mesh. However, if the Diffuse field is 1.0, the simplification operation uses the diffuse component. If the Diffuse 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