Skip to content

LightManagerSupport

Public Class

Base class for implementing custom light managers in .NET

Inheritance Hierarchy

System.Object
Rhino.Render.LightManagerSupport

Namespace: Rhino.Render

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public abstract class LightManagerSupport

The LightManagerSupport type exposes the following members.

Constructors

Name

Description


Protected Method

Default constructor


Methods

Name

Description


Public Method

Delete light


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Get all the lights that are associated to the light manager. The lights are added to the LightArray parameter passed to the GetLights method


Public Method

Returns the value of “ON_LIght::m_bOn” if the light is in solo storage, or false if not in solo storage (ie - this is the checkbox state on the light manager dialog)


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Creates a new group with the lights


Public Method

Gets the string representation of the light description


Public Method

Get Rhino.Geometry.Light object associated to Guig uuid


Public Method

Returns the number of lights in solo storage - any number other than 0 means “in solo mode”


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Modify properties of the light


Public Method

Get the object serial number of the light


Public Method

Generates LightMangerSupportCustomEvent: light_added, light_deleted, light_undeleted, light_modified, light_sorted, The event triggers a Light table event that the rdk lightmanager listens too


Public Method

The default implementation of OnEditLight selects the lights and opens the Lights Properties page


Public Method

The Guid of the plugin


Public Method
Static Member

Find and register classes that derive from LightManagerSupport from the given plug-in.


Public Method
Static Member

Find and register classes that derive from RealtimeDisplayMode from the given plug-in. The plug-in is found in the given assembly


Public Method

The Guid of the render engine


Public Method

First checks to see if we are in “solo mode” - which means that there are any lights that respond “true” to IsInSoloStorage. If in solo mode: If bSolo = true Sets this light on. If bSolo = false If this is the last light “on”, forces all lights out of solo mode. If there are other lights on, turns this light off. If not in solo mode: If bSolo = true Forces all lights into solo storage and sets this light on. If bSolo = false This shouldn’t happen. Will cause an ASSERT


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Public Method

UnGroups the lights