C# Класс RhinoCyclesCore.Database.LightDatabase

Class responsible for recording changes from the ChangeQueue. Also record relation between Rhino light - CyclesLight - ccl.Light.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

AddLight() публичный Метод

Record light changes
public AddLight ( CyclesLight light ) : void
light CyclesLight
Результат void

ExistingLight() публичный Метод

Get existing light for given Guid.
public ExistingLight ( System.Guid id ) : ccl.Light
id System.Guid CyclesLight.Id
Результат ccl.Light

HasChanges() публичный Метод

Return true if any changes have been recorded by the ChangeQueue
public HasChanges ( ) : bool
Результат bool

RecordLightRelation() публичный Метод

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
Результат void

ResetLightChangeQueue() публичный Метод

Clear out list of light changes.
public ResetLightChangeQueue ( ) : void
Результат void