Difference between revisions of "AvatarActorExtended"
From Virtual World Web Wiki
(Documentation for the AvatarActorExtended class) |
(Documentation for the AvatarActorExtended class) |
||
Line 16: | Line 16: | ||
::Returns this actor to the last transform parent it was using before your call to PushTransformParent | ::Returns this actor to the last transform parent it was using before your call to PushTransformParent | ||
− | :{{CSharp|void PushTransformParent(DOMTransformExtended transform)}} | + | :{{CSharp|void PushTransformParent(DOMTransformExtended transform, JSVector3 position {{=}} NULL, JSVector3 rotation {{=}} NULL)}} |
:: | :: | ||
::Makes this actor transform relative to another object, this should always be called with intention to call PopTransformParent at a later time | ::Makes this actor transform relative to another object, this should always be called with intention to call PopTransformParent at a later time |
Latest revision as of 13:29, 15 August 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, JSVector3 position = NULL, JSVector3 rotation = NULL)
- 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