Gets the light if the referenced geometry is one.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
SyntaxPublic Function Light As Light
Return Value
Type:
LightA light; or null if the referenced object is not a light, or on error.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also