Click or drag to resize

LightTable Class

[Missing <summary> documentation for "T:Rhino.DocObjects.Tables.LightTable"]

Inheritance Hierarchy
SystemObject
  Rhino.DocObjects.TablesLightTable

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class LightTable : IEnumerable<LightObject>, 
	IEnumerable

The LightTable type exposes the following members.

Properties
  NameDescription
Public propertyComponentType (Overrides CommonComponentTableTComponentType.)
Public propertyCount
Number of lights in the light table. Does not include Sun or Skylight.
Public propertyDocument
Document that owns this light table.
Public propertyItem
Public propertySkylight
Public propertySun
Gets the Sun instance that is applied to the document.

If the RDK is loaded, an instance is always returned.

Top
Methods
  NameDescription
Public methodAdd(Light)
Public methodAdd(Light, ObjectAttributes)
Public methodClear
Marks all items as deleted.
(Inherited from CommonComponentTableT.)
Public methodDelete(LightObject) (Overrides CommonComponentTableTDelete(T).)
Public methodDelete(Int32, Boolean)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFind
Public methodFindId
Uses the guid to find a model component. Deleted objects cannot be found by id. The guid is the value that is stored in the .Id property. In a single document, no two active objects have the same guid. If an object is replaced with a new object, then the guid persists. For example, if the _Move command moves an object, then the moved object inherits its guid from the starting object. If the Copy command copies an object, then the copy gets a new guid. This guid persists through file saving/openning operations. This function will not find grip objects.
(Inherited from CommonComponentTableT.)
Public methodFindIndex
Retrieves a object based on Index. This seach type of search is discouraged. We are moving towards using only IDs for all tables.
Public methodFindName
Finds the LightObject with a given name.

Deleted lights have no name.

Public methodFindNameHash
Finds a LightObject given its name hash.
Public methodGetEnumerator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleModify(Guid, Light)
Public methodModify(Int32, Light)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also