Difference between revisions of "AvatarActorExtended"
From Virtual World Web Wiki
(Documentation for the AvatarActorExtended class) |
(Documentation for the AvatarActorExtended class) |
||
Line 12: | Line 12: | ||
===Methods=== | ===Methods=== | ||
+ | :{{CSharp|void PopTransformParent()}} | ||
+ | :: | ||
+ | ::Returns this actor to the last transform parent it was using before your call to PushTransformParent | ||
+ | |||
+ | :{{CSharp|void PushTransformParent(DOMTransformExtended transform)}} | ||
+ | :: | ||
+ | ::Makes this actor transform relative to another object, this should always be called with intention to call PopTransformParent at a later time | ||
+ | |||
:{{CSharp|void SetAnimatorSlot(int slot)}} | :{{CSharp|void SetAnimatorSlot(int slot)}} | ||
:: | :: |
Revision as of 21:04, 16 July 2018
Represents a an Actor in an Enagement that is based on a GameCloud AvatarExtended.
- Inherits class: ActorExtended
- This is a JavaScript visible object
Remarks [edit]
Properties
- AvatarExtended Avatar {get;}
- Gets the AvatarExtended associated with this Actor.
Methods
- void PopTransformParent()
- Returns this actor to the last transform parent it was using before your call to PushTransformParent
- void PushTransformParent(DOMTransformExtended transform)
- Makes this actor transform relative to another object, this should always be called with intention to call PopTransformParent at a later time
- void SetAnimatorSlot(int slot)
- Sets the perferred slot this actor will occupy in the shared DOMAnimationController when in an engagement state configured to "Couple" actors together