C# 클래스 HoloToolkit.Sharing.ObjectElementAdapter

Allows users of ObjectElements to register to receive event callbacks without having their classes inherit directly from ObjectElementListener
상속: ObjectElementListener
파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity

공개 메소드들

메소드 설명
ObjectElementAdapter ( )

Initializes a new instance of ObjectElementAdapter.

OnBoolElementChanged ( long elementID, bool newValue ) : void

Throws the BoolChangedEvent.

OnDoubleElementChanged ( long elementID, double newValue ) : void

Throws the DoubleChangedEvent.

OnElementAdded ( Element element ) : void

Throws the ElementAddedEvent.

OnElementDeleted ( Element element ) : void

Throws the ElementDeletedEvent.

OnFloatElementChanged ( long elementID, float newValue ) : void

Throws the FloatChangedEvent.

OnIntElementChanged ( long elementID, int newValue ) : void

Throws the IntChangedEvent.

OnLongElementChanged ( long elementID, long newValue ) : void

Throws the LongChangedEvent.

OnStringElementChanged ( long elementID, XString newValue ) : void

Throws the StringChangedEvent.

메소드 상세

ObjectElementAdapter() 공개 메소드

Initializes a new instance of ObjectElementAdapter.

OnBoolElementChanged() 공개 메소드

Throws the BoolChangedEvent.
public OnBoolElementChanged ( long elementID, bool newValue ) : void
elementID long The Elements id.
newValue bool The new bool value
리턴 void

OnDoubleElementChanged() 공개 메소드

Throws the DoubleChangedEvent.
public OnDoubleElementChanged ( long elementID, double newValue ) : void
elementID long The Elements id.
newValue double The new double value.
리턴 void

OnElementAdded() 공개 메소드

Throws the ElementAddedEvent.
public OnElementAdded ( Element element ) : void
element Element The new Element.
리턴 void

OnElementDeleted() 공개 메소드

Throws the ElementDeletedEvent.
public OnElementDeleted ( Element element ) : void
element Element The deleted Element.
리턴 void

OnFloatElementChanged() 공개 메소드

Throws the FloatChangedEvent.
public OnFloatElementChanged ( long elementID, float newValue ) : void
elementID long The Elements id.
newValue float The new float value.
리턴 void

OnIntElementChanged() 공개 메소드

Throws the IntChangedEvent.
public OnIntElementChanged ( long elementID, int newValue ) : void
elementID long The Elements id.
newValue int The new int value.
리턴 void

OnLongElementChanged() 공개 메소드

Throws the LongChangedEvent.
public OnLongElementChanged ( long elementID, long newValue ) : void
elementID long The Elements id.
newValue long The new long value.
리턴 void

OnStringElementChanged() 공개 메소드

Throws the StringChangedEvent.
public OnStringElementChanged ( long elementID, XString newValue ) : void
elementID long The Elements id.
newValue XString The new string value.
리턴 void