SphericalHarmonicMaterial.Absorption Property

Language:

Retrieves or sets the absorption coefficient used to model light propagation in a participating medium.

Definition

Visual Basic Public Property Absorption As Color
C# public Color Absorption { get; set; }
C++ public:
property Color Absorption {
        Color get();
        void set(Color value);
}
JScript public function get Absorption() : Color
public function set Absorption(Color);

Property Value

System.Drawing.Color
A Color Leave Site object that represents the absorption coefficient.

This property is read/write. 

Remarks

The absorption coefficient is a parameter to the volume rendering equation.


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