SphericalHarmonicMaterial.AbsorptionColor Property

Language:

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

Definition

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

Property Value

Microsoft.DirectX.Direct3D.ColorValue
A ColorValue 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