Difference between revisions of "AvatarExtended"
From Virtual World Web Wiki
(Documentation for the AvatarExtended class) |
(Documentation for the AvatarExtended class) |
||
Line 9: | Line 9: | ||
:: | :: | ||
::The [[DOMControllerExtended]] for the body of the avatar | ::The [[DOMControllerExtended]] for the body of the avatar | ||
+ | |||
+ | :{{CSharp|RuntimeLayerExtended MyAppearance {get;} }} | ||
+ | :: | ||
+ | ::The appearance modification layer specific to this specific avatar instance | ||
:{{CSharp|string Title {get; set;} }} | :{{CSharp|string Title {get; set;} }} | ||
Line 15: | Line 19: | ||
===Methods=== | ===Methods=== | ||
+ | :{{CSharp|void AddHookpoint(string name)}} | ||
+ | :: | ||
+ | ::Creates a new managed hookpoint that can be affected by appearance modifiaction layers | ||
+ | |||
:{{CSharp|void Destroy()}} | :{{CSharp|void Destroy()}} | ||
:: | :: |
Revision as of 12:23, 5 March 2018
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]
Properties
- DOMControllerExtended Body {get;}
- The DOMControllerExtended for the body of the avatar
- RuntimeLayerExtended MyAppearance {get;}
- The appearance modification layer specific to this specific avatar instance
- string Title {get; set;}
- The Title of the bot
Methods
- void AddHookpoint(string name)
- Creates a new managed hookpoint that can be affected by appearance modifiaction layers
- void Destroy()
- Destroys the bot
- void Remove(string hookpointPath)
- Remove a piece of clothing
- void Say(string message)
- Broadcasts a chat message in the local chat channel that appears to be from the bot
- void StartAnimation(string layerName, string animationName, bool looping)
- Plays the requested animation on the requested layer
- 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