Difference between revisions of "AvatarExtended"
From Virtual World Web Wiki
(Documentation for the AvatarExtended class) |
(Documentation for the AvatarExtended class) |
||
Line 6: | Line 6: | ||
===Methods=== | ===Methods=== | ||
+ | :{{CSharp|void PlayAnimation(string layerName, string animationName, bool looping)}} | ||
+ | :: | ||
+ | ::Plays the requested animation on the requested layer | ||
+ | |||
:{{CSharp|void Remove(string hookpointPath)}} | :{{CSharp|void Remove(string hookpointPath)}} | ||
:: | :: | ||
::Remove a piece of clothing | ::Remove a piece of clothing | ||
+ | |||
+ | :{{CSharp|void StopAnimation(string layerName, string animationName)}} | ||
+ | :: | ||
+ | ::Same as above, but for bots in a room rather than player avatars | ||
:{{CSharp|void Wear(string hookpointPath, Guid objectTypeID)}} | :{{CSharp|void Wear(string hookpointPath, Guid objectTypeID)}} |
Revision as of 18:14, 27 November 2017
Represents an avatar which is a collection of DOM nodes starting with a root DOMController object and managed by the Creature Manager component
- This is a JavaScript visible object
Remarks [edit]
Methods
- void PlayAnimation(string layerName, string animationName, bool looping)
- Plays the requested animation on the requested layer
- void Remove(string hookpointPath)
- Remove a piece of clothing
- void StopAnimation(string layerName, string animationName)
- Same as above, but for bots in a room rather than player avatars
- void Wear(string hookpointPath, Guid objectTypeID)
- Wear a piece of clothing