SphericalHarmonicMaterial.AbsorptionColor Property (Microsoft.DirectX.Direct3D)

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


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

A ColorValue object that represents the absorption coefficient.

This property is read/write. 


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