OpenSim
|
An agent in the scene. More...
Public Member Functions | |
List< SceneObjectGroup > | GetAttachments () |
The scene objects attached to this avatar. More... | |
List< SceneObjectGroup > | GetAttachments (uint attachmentPoint) |
The scene objects attached to this avatar at a specific attachment point. More... | |
bool | HasAttachments () |
Does this avatar have any attachments? More... | |
void | AddAttachment (SceneObjectGroup gobj) |
void | RemoveAttachment (SceneObjectGroup gobj) |
void | ClearAttachments () |
Public Member Functions inherited from OpenSim.Framework.ISceneAgent | |
void | SendInitialDataToMe () |
Send initial scene data to the client controlling this agent More... | |
Properties | |
List< string > | InTransitScriptStates [get] |
Copy of the script states while the agent is in transit. This state may need to be placed back in case of transfer fail. More... | |
Object | AttachmentsSyncLock [get] |
The AttachmentsModule synchronizes on this to avoid race conditions between commands to add and remove attachments. More... | |
Properties inherited from OpenSim.Framework.ISceneAgent | |
IClientAPI | ControllingClient [get] |
PresenceType | PresenceType [get] |
What type of presence is this? User, NPC, etc. More... | |
bool | IsChildAgent [get] |
If true, then the agent has no avatar in the scene. The agent exists to relay data from a region that neighbours the current position of the user's avatar. Occasionally data is relayed, such as which a user clicks an item in a neighbouring region. More... | |
AvatarAppearance | Appearance [get, set] |
Avatar appearance data. More... | |
Vector3 | Lookat [get] |
Properties inherited from OpenSim.Framework.ISceneEntity | |
string | Name [get, set] |
UUID | UUID [get] |
uint | LocalId [get] |
Vector3 | AbsolutePosition [get] |
An agent in the scene.
Interface is a work in progress. Please feel free to add other required properties and methods.
Definition at line 41 of file IScenePresence.cs.
void OpenSim.Region.Framework.Interfaces.IScenePresence.AddAttachment | ( | SceneObjectGroup | gobj | ) |
Implemented in OpenSim.Region.Framework.Scenes.ScenePresence.
void OpenSim.Region.Framework.Interfaces.IScenePresence.ClearAttachments | ( | ) |
Implemented in OpenSim.Region.Framework.Scenes.ScenePresence.
List<SceneObjectGroup> OpenSim.Region.Framework.Interfaces.IScenePresence.GetAttachments | ( | ) |
The scene objects attached to this avatar.
Do not change this list directly - use the attachments module.
Implemented in OpenSim.Region.Framework.Scenes.ScenePresence.
List<SceneObjectGroup> OpenSim.Region.Framework.Interfaces.IScenePresence.GetAttachments | ( | uint | attachmentPoint | ) |
The scene objects attached to this avatar at a specific attachment point.
attachmentPoint |
Implemented in OpenSim.Region.Framework.Scenes.ScenePresence.
bool OpenSim.Region.Framework.Interfaces.IScenePresence.HasAttachments | ( | ) |
Does this avatar have any attachments?
Implemented in OpenSim.Region.Framework.Scenes.ScenePresence.
void OpenSim.Region.Framework.Interfaces.IScenePresence.RemoveAttachment | ( | SceneObjectGroup | gobj | ) |
Implemented in OpenSim.Region.Framework.Scenes.ScenePresence.
|
get |
The AttachmentsModule synchronizes on this to avoid race conditions between commands to add and remove attachments.
All add and remove attachment operations must synchronize on this for the lifetime of their operations.
Definition at line 55 of file IScenePresence.cs.
|
get |
Copy of the script states while the agent is in transit. This state may need to be placed back in case of transfer fail.
Definition at line 47 of file IScenePresence.cs.