Class SoLightAttenuationElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedElement
com.openinventor.inventor.elements.SoLightAttenuationElement
Stores the light attenuation(s) of the current environment.
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
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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
getDefault
Returns the default light attenuation. -
get
Returns the current light attenuation from the state. -
set
Sets the current light attenuation(s).
-