Click or drag to resize

ObjRefLight Method

Gets the light if the referenced geometry is one.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
public Light Light()

Return Value

Type: Light
A light; or null if the referenced object is not a light, or on error.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.20
See Also