C# Class HoloToolkit.Sharing.ObjectElementAdapter

Allows users of ObjectElements to register to receive event callbacks without having their classes inherit directly from ObjectElementListener
Inheritance: ObjectElementListener
Afficher le fichier Open project: Microsoft/HoloToolkit-Unity

Méthodes publiques

Méthode Description
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.

Method Details

ObjectElementAdapter() public méthode

Initializes a new instance of ObjectElementAdapter.

OnBoolElementChanged() public méthode

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

OnDoubleElementChanged() public méthode

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

OnElementAdded() public méthode

Throws the ElementAddedEvent.
public OnElementAdded ( Element element ) : void
element Element The new Element.
Résultat void

OnElementDeleted() public méthode

Throws the ElementDeletedEvent.
public OnElementDeleted ( Element element ) : void
element Element The deleted Element.
Résultat void

OnFloatElementChanged() public méthode

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

OnIntElementChanged() public méthode

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

OnLongElementChanged() public méthode

Throws the LongChangedEvent.
public OnLongElementChanged ( long elementID, long newValue ) : void
elementID long The Elements id.
newValue long The new long value.
Résultat void

OnStringElementChanged() public méthode

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