Difference between revisions of "AvatarActorExtended"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the AvatarActorExtended class)
 
(Documentation for the AvatarActorExtended class)
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
::
 
::
 
::Gets the [[AvatarExtended]] associated with this Actor.
 
::Gets the [[AvatarExtended]] associated with this Actor.
 +
 +
===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, 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
 +
 +
:{{CSharp|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
  
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__

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