C# 클래스 RhinoCyclesCore.Database.LightDatabase

Class responsible for recording changes from the ChangeQueue. Also record relation between Rhino light - CyclesLight - ccl.Light.
파일 보기 프로젝트 열기: mcneel/RhinoCycles

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