SphericalHarmonicMaterial.RelativeIndexOfRefraction Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the relative index of refraction as the ratio between two absolute indices of refraction.

Definition

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

Property Value

System.Single
A floating-point value that represents the relative index of refraction.

This property is read/write. 

Remarks

The relative index of refraction is the ratio between two absolute indices of refraction. An index of refraction is the ratio of the sine of the angle of incidence to the sine of the angle of refraction.