OGLLight
 
 
 

OGLLight

Object Hierarchy | Related C++ Class: OGLLight

Description

The OGLLight object represents the OGL light properties of a Light object.

Note: The behavior of this object changed in Softimage 2013. Previously, OGLLight was being re-evaluated for each data request. As of Softimage 2013, a snapshot of the OGLLight parameters is taken when calling Light.GetOGLLight(). This means that Light.GetOGLLight() needs to be called again when parameters affecting the OGLLight are modified.

OGLLight objects are read-only.

Properties

Color ConeAngle InterestPosition LightPosition
Type      
       

Examples

VBScript Example

dim spot
set spot = ActiveProject.ActiveScene.Root.AddLightRig("Spot").Light
LogMessage "OGL light: " & TypeName(spot.OGLLight)

See Also

Light.OGLLight