SoLightAttenuationElement Class |
Stores the light attenuation(s) of the current environment.
Namespace: OIV.Inventor.Elements
The SoLightAttenuationElement type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Get | Returns the current light attenuation from the state. | |
GetClassStackIndex | Obsolete. Returns the stack id for this element. | |
GetDefault | Returns the default light attenuation. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Pop | Pops element. | |
Push | Pushes element. | |
Set | Sets the current light attenuation(s). | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This element stores the light attenuation(s) of the current environment. This used to set up subsequent light sources. The attenuation is stored as an OIV.Inventor.SbVec3f, where the first component of the vector is the quadratic term of the attenuation, the second is the linear term, and the third is the constant.