Click or drag to resize
Light Class
Represents a light source in a station.
Inheritance Hierarchy

Namespace:  ABB.Robotics.RobotStudio.Stations
Assembly:  ABB.Robotics.RobotStudio.Stations (in ABB.Robotics.RobotStudio.Stations.dll) Version: 7.0.8747.636
Syntax
C#
public class Light : ProjectObject, IHasTransform, 
	IAttachableChild

The Light type exposes the following members.

Constructors
  NameDescription
Public methodLight
Creates a new Light source of the specified type.
Top
Properties
  NameDescription
Public propertyAmbientIntensity
Gets or sets the ambient intensity of the light.
Public propertyAttributes
Returns a collection of dynamic attributes attached to the object
(Inherited from ProjectObject.)
Public propertyCastShadows
Gets or sets if this light casts shadows
Public propertyChildren
Enumerates all child objects.
(Inherited from ProjectObject.)
Public propertyColor
Gets or sets the color of the light.
Public propertyContainingProject
Returns the Project that this object is a part of, or null if it is not part of a Project.
(Inherited from ProjectObject.)
Public propertyDiffuseIntensity
Gets or sets the diffuse intensity of the light.
Public propertyDirection
Gets or sets the direction of the light. Not applicable to point lights.
Public propertyDisplayName
Gets the name of the the object that should be displayed in the GUI.
(Inherited from ProjectObject.)
Public propertyEnabled
Gets or sets if this light is enabled, i.e. turned on
Protected propertyInternalChildren (Inherited from ProjectObject.)
Protected propertyInternalParent (Inherited from ProjectObject.)
Public propertyStatic memberMaxLightCount
Returns the maximum number of lights that can be enabled at any given time
Public propertyStatic memberMaxShadowCount
Returns the maximum number of lights that can cast shadows at any given time.
Public propertyName
Gets or sets the name of the object
(Inherited from ProjectObject.)
Public propertyParent
Returns the objects parent, if it has one.
(Inherited from ProjectObject.)
Public propertyPosition
Gets or sets the position of the light source. Not applicable to infinite lights.
Public propertyRange
Gets or sets the maximum range of the light in meters
Public propertySpecularIntensity
Gets or sets the specular intensity of the light.
Public propertySpotAngle
Angle of the spotlight cone, in radians
Public propertyTransform
Gets the Transform of the light.
Public propertyType
Returns the type of light.
Public propertyTypeDisplayName
Gets a localized name for the type of this object.
(Inherited from ProjectObject.)
Public propertyUIVisible
Gets or sets a value that indicates if this object should be displayed in GUI such as an object browser.
(Inherited from ProjectObject.)
Public propertyUniqueId
Gets a persisted, globally unique identifier for this object, that can be used to find the object using the GetObjectFromUniqueId(String) method.
(Inherited from ProjectObject.)
Top
Methods
  NameDescription
Protected methodAfterLoad (Overrides ProjectObjectAfterLoad(PimDocument).)
Protected methodBackup (Inherited from ProjectObject.)
Protected methodBeforeSave (Inherited from ProjectObject.)
Public methodStatic memberCreateInfiniteLight
Creates a new Light that represents an infinite light source.
Public methodStatic memberCreatePointLight
Creates a new Light that represents a point light source.
Public methodStatic memberCreateSpotLight
Creates a new Light that represents a spot light source.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindObjects
Recursively finds object that satisfy a condition.
(Inherited from ProjectObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNotifyChange (Inherited from ProjectObject.)
Protected methodNotifyChange(ProjectObjectChangeType) (Inherited from ProjectObject.)
Protected methodOnCreatingObject (Inherited from ProjectObject.)
Protected methodOnDelete (Inherited from ProjectObject.)
Protected methodOnUndoRedo (Inherited from ProjectObject.)
Public methodToString (Inherited from ProjectObject.)
Top
Fields
  NameDescription
Protected field_curUndoDeltaState (Inherited from ProjectObject.)
Top
Remarks
Requires AdvancedLighting to be enabled.
Version Information

Supported in: 1.0.0.0
See Also