C# Class RhinoCyclesCore.Database.LightDatabase

Class responsible for recording changes from the ChangeQueue. Also record relation between Rhino light - CyclesLight - ccl.Light.
Afficher le fichier Open project: mcneel/RhinoCycles

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddLight ( CyclesLight light ) : void

Record light changes

ExistingLight ( System.Guid id ) : ccl.Light

Get existing light for given Guid.

HasChanges ( ) : bool

Return true if any changes have been recorded by the ChangeQueue

RecordLightRelation ( System.Guid id, ccl.Light cLight ) : void

Record Cycles lights that correspond to specific Rhino light ID

ResetLightChangeQueue ( ) : void

Clear out list of light changes.

Method Details

AddLight() public méthode

Record light changes
public AddLight ( CyclesLight light ) : void
light CyclesLight
Résultat void

ExistingLight() public méthode

Get existing light for given Guid.
public ExistingLight ( System.Guid id ) : ccl.Light
id System.Guid CyclesLight.Id
Résultat ccl.Light

HasChanges() public méthode

Return true if any changes have been recorded by the ChangeQueue
public HasChanges ( ) : bool
Résultat bool

RecordLightRelation() public méthode

Record Cycles lights that correspond to specific Rhino light ID
public RecordLightRelation ( System.Guid id, ccl.Light cLight ) : void
id System.Guid CyclesLight.Id ( equals Rhino light ID)
cLight ccl.Light ccl.Light to save
Résultat void

ResetLightChangeQueue() public méthode

Clear out list of light changes.
public ResetLightChangeQueue ( ) : void
Résultat void