Share

Light Object


Description

The Light object provides access to all of the properties that define a specific light source.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
Color Gets and sets the color of the light source.
ConstantAttenuation Gets and sets the QuadraticAttenuation value.
Direction Gets and sets the direction of the light.
Intensity Gets and sets the intensity value.
LightDefinitionType Returning the light definition type.
LightType Returning kLightObject indicating the type of object.
LinearAttenuation Gets and sets the LinearAttenuation value.
On Gets and sets whether this light is switched on.
Parent Property returning the parent of the object.
Position Gets and sets the position of the light in model space.
QuadraticAttenuation Gets and sets the QuadraticAttenuation value.
SpotLightCutoffAngle Gets and sets the SpotLightCutoffAngle value.
SpotLightFalloff Gets and sets the SpotLightFalloff value.
SpotLightInnerAngle Gets and sets the SpotLightInnerAngle value.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

Lights.Add, Lights.Item

Version

Introduced in version 10

Was this information helpful?