Light

Object Hierarchy | Related C++ Class: Light

Inheritance

SIObject

ProjectItem

SceneItem

X3DObject

DirectedObject

Light

Description

The Light object represents a Softimage light within a scene, such as a light point, a spot light, etc. Light can be created with X3DObject.AddLight.

Methods

Add2DChain Add3DChain AddAnnotation AddCamera
AddCameraRig AddChild AddControl AddCustomOp
AddCustomProperty AddFxTree AddGeometry AddLattice
AddLight AddLightRig AddMaterial AddModel
AddNull AddNurbsCurve AddNurbsCurveList AddNurbsCurveList2
AddNurbsSurface AddNurbsSurfaceMesh AddNurbsSurfaceMesh2 AddPolygonMesh
AddPrimitive AddProperty AddScriptedOp AddScriptedOpFromFile
AnimatedParameters2 ApplyEnvelope BelongsTo operator EvaluateAt
FindChild FindChild2 FindChildren FindChildren2
FindShaders GetActivePrimitive2 GetAllShaders GetBoundingBox
GetICEAttributeFromName GetLocalPropertyFromName GetModels2 GetPropertyFromName
GetShaderInputType GetStaticKinematicState operator HasStaticKinematicState operator IsA
IsAnimated2 IsClassOf operator IsEqualTo operator IsKindOf
IsLocked operator IsNodeAnimated IsSelected operator LockOwners
NodeAnimatedParameters RemoveChild RemoveFromParent SetAsSelected operator
SetCapabilityFlag operator SetLock SetMaterial ShapeAnimatedClusters
TaggedParameters UnSetLock    
       

Properties

ActivePrimitive AllImageClips Application BranchFlag operator
Capabilities operator Categories Children Envelopes
EvaluationID Families operator FullName operator Help
HierarchicalEvaluationID ICEAttributes Interest Kinematics
LocalProperties LocalRotation LocalScaling LocalTranslation
LockLevel operator LockMasters operator LockType operator Material
Materials Model Models Name operator
NestedObjects OGLLight ObjectID Origin
OriginPath Owners PPGLayout operator Parameters operator
Parent Parent3DObject Primitives Properties
Selected operator Shaders Type operator  
       

Examples

VBScript Example

dim pointLight
set pointLight = ActiveProject.ActiveScene.Root.AddLight("Point")
LogMessage "Point light name: " & pointLight.Name