OpenSim
|
Public Member Functions | |
void | TriggerScenePresenceUpdated () |
void | sitSOGmoved () |
Quaternion | GetWorldRotation () |
Gets the world rotation of this presence. More... | |
Vector3 | GetWorldVelocity () |
Get velocity relative to the world. More... | |
void | AdjustKnownSeeds () |
void | DumpKnownRegions () |
ScenePresence (IClientAPI client, Scene world, AvatarAppearance appearance, PresenceType type) | |
void | RegisterToEvents () |
int | GetStateSource () |
Force viewers to show the avatar's current name. More... | |
void | MakeChildAgent (ulong newRegionHandle) |
This turns a root agent into a child agent More... | |
void | RemoveFromPhysicalScene () |
Removes physics plugin scene representation of this agent if it exists. More... | |
void | Teleport (Vector3 pos) |
Do not call this directly. Call Scene.RequestTeleportLocation() instead. More... | |
void | TeleportWithMomentum (Vector3 pos, Vector3?v) |
void | avnLocalTeleport (Vector3 newpos, Vector3?newvel, bool rotateToVelXY) |
void | StopFlying () |
void | AddNeighbourRegionSizeInfo (GridRegion region) |
void | SetNeighbourRegionSizeInfo (List< GridRegion > regionsList) |
void | RemoveNeighbourRegion (ulong regionHandle) |
void | DropOldNeighbours (List< ulong > oldRegions) |
void | DropThisRootRegionFromNeighbours () |
void | SetHeight (float height) |
Sets avatar height in the physics plugin More... | |
void | SetSize (Vector3 size, float feetoffset) |
void | CompleteMovement (IClientAPI client, bool openChildAgents) |
Complete Avatar's movement into the region. More... | |
void | RayCastCameraCallback (bool hitYN, Vector3 collisionPoint, uint localid, float distance, Vector3 pNormal) |
void | HandleAgentUpdate (IClientAPI remoteClient, AgentUpdateArgs agentData) |
This is the event handler for client movement. If a client is moving, this event is triggering. More... | |
bool | HandleMoveToTargetUpdate (float tolerance, ref Vector3 agent_control_v3) |
Calculate an update to move the presence to the set target. More... | |
void | MoveToTarget (Vector3 pos, bool noFly, bool landAtTarget) |
Move to the given target over time. More... | |
void | ResetMoveToTarget () |
Reset the move to target. More... | |
void | StandUp () |
Perform the logic necessary to stand the avatar up. This method also executes the stand animation. More... | |
void | HandleAgentRequestSit (IClientAPI remoteClient, UUID agentID, UUID targetID, Vector3 offset) |
bool | PhysicsSit (SceneObjectPart part, Vector3 offset) |
void | PhysicsSitResponse (int status, uint partID, Vector3 offset, Quaternion Orientation) |
void | HandleAgentSit (IClientAPI remoteClient, UUID agentID) |
void | HandleAgentSitOnGround () |
void | HandleSetAlwaysRun (IClientAPI remoteClient, bool pSetAlwaysRun) |
Event handler for the 'Always run' setting on the client Tells the physics plugin to increase speed of movement. More... | |
void | HandleStartAnim (IClientAPI remoteClient, UUID animID) |
void | HandleStopAnim (IClientAPI remoteClient, UUID animID) |
void | avnHandleChangeAnim (UUID animID, bool addRemove, bool sendPack) |
void | AddNewMovement (Vector3 vec, float thisAddSpeedModifier=1, bool breaking=false) |
Rotate the avatar to the given rotation and apply a movement in the given relative vector More... | |
override void | Update () |
Performs any updates that need to be done at each frame, as opposed to immediately. These included scheduled updates and updates that occur due to physics processing. More... | |
void | SendUpdateToAgent (ScenePresence p) |
void | SendFullUpdateToClient (IClientAPI remoteClient) |
void | SendAgentTerseUpdate (ISceneEntity p) |
void | SendTerseUpdateToClient (IClientAPI remoteClient) |
Sends a location update to the client connected to this scenePresence via entity updates More... | |
void | SendTerseUpdateToAgent (ScenePresence p) |
void | SendTerseUpdateToAgentNF (ScenePresence p) |
void | SendTerseUpdateToAllClients () |
Send a location/velocity/accelleration update to all agents in scene More... | |
void | SendCoarseLocations (List< Vector3 > coarseLocations, List< UUID > avatarUUIDs) |
void | SetSendCoarseLocationMethod (SendCoarseLocationsMethod d) |
void | SendCoarseLocationsDefault (UUID sceneId, ScenePresence p, List< Vector3 > coarseLocations, List< UUID > avatarUUIDs) |
void | SendInitialDataToMe () |
Send initial scene data to the client controlling this agent More... | |
void | SendOtherAgentsAvatarFullToMe () |
Send avatar full data appearance and animations for all other root agents to this agent, this agent can be either a child or root More... | |
void | SendAvatarDataToAllAgents () |
Send this agent's avatar data to all other root and child agents in the scene This agent must be root. This avatar will receive its own update. More... | |
void | SendInitialAvatarDataToAllAgents (List< ScenePresence > presences) |
void | SendInitialAvatarDataToAgent (ScenePresence p) |
void | SendAvatarDataToAgent (ScenePresence avatar) |
Send avatar data to an agent. More... | |
void | SendAvatarDataToAgentNF (ScenePresence avatar) |
void | SendAppearanceToAllOtherAgents () |
Send this agent's appearance to all other root and child agents in the scene This agent must be root. More... | |
void | SendAppearanceToAgent (ScenePresence avatar) |
void | SendAppearanceToAgentNF (ScenePresence avatar) |
void | SendAnimPackToAgent (ScenePresence p) |
void | SendAnimPackToAgent (ScenePresence p, UUID[] animations, int[] seqs, UUID[] objectIDs) |
void | SendAnimPackToAgentNF (ScenePresence p) |
void | SendAnimPackToAgentNF (ScenePresence p, UUID[] animations, int[] seqs, UUID[] objectIDs) |
void | SendAnimPack (UUID[] animations, int[] seqs, UUID[] objectIDs) |
void | CrossToNewRegionFail () |
void | CloseChildAgents (bool logout, ulong newRegionHandle, int newRegionSizeX, int newRegionSizeY) |
Computes which child agents to close when the scene presence moves to another region. Removes those regions from m_knownRegions. More... | |
void | GrantGodlikePowers (UUID agentID, UUID sessionID, UUID token, bool godStatus) |
This allows the Sim owner the abiility to kick users from their sim currently. It tells the client that the agent has permission to do so. More... | |
void | UpdateChildAgent (AgentData cAgentData) |
void | UpdateChildAgent (AgentPosition cAgentData, uint tRegionX, uint tRegionY, uint rRegionX, uint rRegionY) |
This updates important decision making data about a child agent The main purpose is to figure out what objects to send to a child agent that's in a neighboring region More... | |
void | CopyTo (AgentData cAgent) |
bool | CopyAgent (out IAgentData agent) |
void | UpdateMovement () |
Handles part of the PID controller function for moving an avatar. More... | |
void | AddToPhysicalScene (bool isFlying) |
Adds a physical representation of the avatar to the Physics plugin More... | |
void | PhysicsCollisionUpdate (EventArgs e) |
Event called by the physics plugin to tell the avatar about a collision. More... | |
void | setHealthWithUpdate (float health) |
void | AddAttachment (SceneObjectGroup gobj) |
List< SceneObjectGroup > | GetAttachments () |
Get all the presence's attachments. More... | |
List< SceneObjectGroup > | GetAttachments (uint attachmentPoint) |
Get the scene objects attached to the given point. More... | |
bool | HasAttachments () |
Does this avatar have any attachments? More... | |
int | ScriptCount () |
Returns the total count of scripts in all parts inventories. More... | |
float | ScriptExecutionTime () |
A float the value is a representative execution time in milliseconds of all scripts in all attachments. More... | |
int | RunningScriptCount () |
Returns the total count of running scripts in all parts. More... | |
bool | HasScriptedAttachments () |
void | RemoveAttachment (SceneObjectGroup gobj) |
void | ClearAttachments () |
Clear all attachments More... | |
bool | ValidateAttachments () |
This is currently just being done for information. More... | |
void | SendAttachmentsToAllAgents () |
void | SendAttachmentsToAgentNF (ScenePresence p) |
void | SendAttachmentFullUpdateToAgentNF (SceneObjectGroup sog, ScenePresence p) |
void | SendAttachmentScheduleUpdate (SceneObjectGroup sog) |
void | SendAttachmentUpdate (SceneObjectGroup sog, UpdateRequired UpdateFlag) |
void | SendAttachmentScheduleUpdate (SceneObjectPart part) |
void | SendAttachmentUpdate (SceneObjectPart part, UpdateRequired UpdateFlag) |
void | SendScriptEventToAttachments (string eventName, Object[] args) |
Send a script event to this scene presence's attachments More... | |
float | GetMass () |
Gets the mass. More... | |
void | RegisterControlEventsToScript (int controls, int accept, int pass_on, uint Obj_localID, UUID Script_item_UUID) |
void | HandleForceReleaseControls (IClientAPI remoteClient, UUID agentID) |
void | ClearControls () |
void | UnRegisterSeatControls (UUID obj) |
void | UnRegisterControlEventsToScript (uint Obj_localID, UUID Script_item_UUID) |
void | HasMovedAway (bool nearRegion) |
void | SendKillTo (ScenePresence p) |
void | SendViewTo (ScenePresence p) |
void | SetAnimationOverride (string animState, UUID animID) |
UUID | GetAnimationOverride (string animState) |
Public Member Functions inherited from OpenSim.Region.Framework.Scenes.EntityBase | |
EntityBase () | |
Creates a new Entity (should not occur on it's own) More... | |
virtual EntityBase | Copy () |
Copies the entity More... | |
Public Attributes | |
bool | LegacySitOffsets = true |
String | sitAnimation = "SIT" |
Vector3 | lastKnownAllowedPosition |
bool | sentMessageAboutRestrictedParcelFlyingDown |
Vector4 | CollisionPlane = Vector4.UnitW |
const float | AgentControlNudgeVel = 1.0f |
const float | AgentControlNormalVel = 1.0f |
Static Public Attributes | |
static readonly Vector3 | SIT_TARGET_ADJUSTMENT = new Vector3(0.0f, 0.0f, 0.4f) |
Experimentally determined "fudge factor" to make sit-target positions the same as in SecondLife. Fudge factor was tested for 36 different test cases including prims of type box, sphere, cylinder, and torus, with varying parameters for sit target location, prim size, prim rotation, prim cut, prim twist, prim taper, and prim shear. See mantis issue #1716 More... | |
static readonly float | MOVEMENT = .25f |
Movement updates for agents in neighboring regions are sent directly to clients. This value only affects how often agent positions are sent to neighbor regions for things such as distance-based update prioritization this are the square of real distances More... | |
static readonly float | SIGNIFICANT_MOVEMENT = 16.0f |
static readonly float | CHILDUPDATES_MOVEMENT = 100.0f |
static readonly float | CHILDUPDATES_TIME = 10000f |
Protected Member Functions | |
void | CheckForSignificantMovement () |
This checks for a significant movement and sends a coarselocationchange update More... | |
void | CheckForBorderCrossing () |
Starts the process of moving an avatar into another region if they are crossing the border. More... | |
bool | CrossToNewRegion () |
Moves the agent outside the region bounds Tells neighbor region that we're crossing to it If the neighbor accepts, remove the agent's viewable avatar from this scene set them to a child agent. More... | |
Protected Attributes | |
ulong | crossingFromRegion |
int | m_reprioritizationLastTime |
bool | m_reprioritizationBusy |
Vector3 | m_reprioritizationLastPosition |
AvatarAppearance | m_appearance |
Protected Attributes inherited from OpenSim.Region.Framework.Scenes.EntityBase | |
Scene | m_scene |
UUID | m_uuid |
string | m_name |
Vector3 | m_pos |
Vector3 | m_velocity |
Vector3 | m_rotationalvelocity |
uint | m_localId |
Properties | |
bool | isNPC [get, set] |
PresenceType | PresenceType [get, set] |
ScenePresenceState | LifecycleState [get, set] |
The current state of this presence. Governs only the existence lifecycle. See ScenePresenceStateMachine for more details. More... | |
UUID | currentParcelUUID [get, set] |
bool | ParcelAllowThisAvatarSounds [get] |
bool | ParcelHideThisAvatar [get] |
ScenePresenceAnimator | Animator [get, set] |
MovementAnimationOverrides | Overrides [get, set] |
Object | AttachmentsSyncLock [get, set] |
int | UserFlags [get] |
bool | Flying [get, set] |
bool | IsColliding [get, set] |
TeleportFlags | TeleportFlags [get, set] |
bool | SitGround [get, set] |
Are we sitting on the ground? More... | |
bool | MovingToTarget [get, set] |
Vector3 | MoveToPositionTarget [get, set] |
bool | LandAtTarget [get, set] |
Controls whether an avatar automatically moving to a target will land when it gets there (if flying). More... | |
Vector3 | PrevSitOffset [get, set] |
AvatarAppearance | Appearance [get, set] |
List< string > | InTransitScriptStates [get, set] |
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... | |
bool | DoNotCloseAfterTeleport [get, set] |
Used by the entity transfer module to signal when the presence should not be closed because a subsequent teleport is reusing the connection. More... | |
PhysicsActor | PhysicsActor [get, set] |
Physical scene representation of this Avatar. More... | |
uint | MovementFlag [get, set] |
Record user movement inputs. More... | |
bool | AgentControlStopActive [get, set] |
Is the agent stop control flag currently active? More... | |
bool | Invulnerable [get, set] |
int | UserLevel [get, set] |
int | GodLevel [get, set] |
ulong | RegionHandle [get, set] |
Vector3 | CameraPosition [get, set] |
Quaternion | CameraRotation [get] |
Vector3 | CameraAtAxis [get, set] |
Vector3 | CameraLeftAxis [get, set] |
Vector3 | CameraUpAxis [get, set] |
Vector3 | Lookat [get] |
string | Firstname [get, set] |
string | Lastname [get, set] |
string | Grouptitle [get, set] |
bool | UseFakeGroupTitle [get, set] |
When this is 'true', return a dummy group title instead of the real group title. This is used as part of a hack to force viewers to update the displayed avatar name. More... | |
float | DrawDistance [get, set] |
float | RegionViewDistance [get] |
bool | AllowMovement [get, set] |
bool | SetAlwaysRun [get, set] |
byte | State [get, set] |
uint | AgentControlFlags [get, set] |
IClientAPI | ControllingClient [get, set] |
IClientCore | ClientView [get] |
UUID | COF [get, set] |
override Vector3 | AbsolutePosition [get, set] |
Position of this avatar relative to the region the avatar is in More... | |
Vector3 | OffsetPosition [get, set] |
If sitting, returns the offset position from the prim the avatar is sitting on. Otherwise, returns absolute position in the scene. More... | |
override Vector3 | Velocity [get, set] |
Current velocity of the avatar. More... | |
Quaternion | Rotation [get, set] |
The rotation of the avatar. More... | |
Vector3 | AngularVelocity [get] |
bool | IsChildAgent [get, set] |
bool | IsLoggingIn [get, set] |
uint | ParentID [get, set] |
If the avatar is sitting, the local ID of the prim that it's sitting on. If not sitting then zero. More... | |
UUID | ParentUUID [get, set] |
bool | IsSatOnObject [get] |
Are we sitting on an object? More... | |
SceneObjectPart | ParentPart [get, set] |
If the avatar is sitting, the prim that it's sitting on. If not sitting then null. More... | |
float | Health [get, set] |
bool | IsInTransit [get, set] |
This signals whether the presence is in transit between neighbouring regions. More... | |
float | SpeedModifier [get, set] |
bool | ForceFly [get, set] |
bool | FlyDisabled [get, set] |
string | Viewer [get] |
Dictionary< ulong, string > | KnownRegions [get, set] |
List< ulong > | KnownRegionHandles [get] |
int | KnownRegionCount [get] |
Properties inherited from OpenSim.Region.Framework.Scenes.EntityBase | |
Scene | Scene [get] |
The scene to which this entity belongs More... | |
virtual UUID | UUID [get, set] |
virtual string | Name [get, set] |
The name of this entity More... | |
bool | IsDeleted [get, set] |
Signals whether this entity was in a scene but has since been removed from it. More... | |
virtual Vector3 | AbsolutePosition [get, set] |
Absolute position of this entity in a scene. More... | |
virtual Vector3 | Velocity [get, set] |
Current velocity of the entity. More... | |
virtual uint | LocalId [get, set] |
Properties inherited from OpenSim.Framework.ISceneEntity | |
string | Name [get, set] |
UUID | UUID [get] |
uint | LocalId [get] |
Vector3 | AbsolutePosition [get] |
Properties inherited from OpenSim.Region.Framework.Interfaces.IScenePresence | |
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] |
Definition at line 77 of file ScenePresence.cs.
|
inline |
Definition at line 1002 of file ScenePresence.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.IScenePresence.
Definition at line 4800 of file ScenePresence.cs.
|
inline |
Definition at line 1707 of file ScenePresence.cs.
|
inline |
Rotate the avatar to the given rotation and apply a movement in the given relative vector
vec | The vector in which to move. This is relative to the rotation argument |
thisAddSpeedModifier | Optional additional speed modifier for this particular add. Default is 1 |
Definition at line 3484 of file ScenePresence.cs.
|
inline |
Adds a physical representation of the avatar to the Physics plugin
Definition at line 4572 of file ScenePresence.cs.
|
inline |
Definition at line 887 of file ScenePresence.cs.
|
inline |
Definition at line 3471 of file ScenePresence.cs.
|
inline |
Definition at line 1554 of file ScenePresence.cs.
|
inlineprotected |
Starts the process of moving an avatar into another region if they are crossing the border.
Also removes the avatar from the physical scene if transit has started.
Definition at line 4070 of file ScenePresence.cs.
|
inlineprotected |
This checks for a significant movement and sends a coarselocationchange update
Definition at line 3995 of file ScenePresence.cs.
|
inline |
Clear all attachments
Implements OpenSim.Region.Framework.Interfaces.IScenePresence.
Definition at line 4938 of file ScenePresence.cs.
|
inline |
Definition at line 5377 of file ScenePresence.cs.
|
inline |
Computes which child agents to close when the scene presence moves to another region. Removes those regions from m_knownRegions.
newRegionX | The new region's x on the map |
newRegionY | The new region's y on the map |
eventQueue.DisableSimulator(handle,UUID);
Definition at line 4191 of file ScenePresence.cs.
|
inline |
Complete Avatar's movement into the region.
client | |
openChildAgents | If true, send notification to neighbour regions to expect a child agent from the client. These neighbours can be some distance away, depending right now on the configuration of DefaultDrawDistance in the [Startup] section of config |
Definition at line 1866 of file ScenePresence.cs.
|
inline |
Definition at line 4542 of file ScenePresence.cs.
|
inline |
Definition at line 4379 of file ScenePresence.cs.
|
inlineprotected |
Moves the agent outside the region bounds Tells neighbor region that we're crossing to it If the neighbor accepts, remove the agent's viewable avatar from this scene set them to a child agent.
Definition at line 4152 of file ScenePresence.cs.
|
inline |
Definition at line 4119 of file ScenePresence.cs.
|
inline |
Definition at line 1755 of file ScenePresence.cs.
|
inline |
Definition at line 1764 of file ScenePresence.cs.
|
inline |
Definition at line 918 of file ScenePresence.cs.
|
inline |
Definition at line 6340 of file ScenePresence.cs.
|
inline |
Get all the presence's attachments.
Implements OpenSim.Region.Framework.Interfaces.IScenePresence.
Definition at line 4820 of file ScenePresence.cs.
|
inline |
Get the scene objects attached to the given point.
attachmentPoint |
Implements OpenSim.Region.Framework.Interfaces.IScenePresence.
Definition at line 4831 of file ScenePresence.cs.
|
inline |
|
inline |
Force viewers to show the avatar's current name.
The avatar name that is shown above the avatar in the viewers is sent in ObjectUpdate packets, and they get the name from the ScenePresence. Unfortunately, viewers have a bug (as of April 2014) where they ignore changes to the avatar name. However, tey don't ignore changes to the avatar's Group Title. So the following trick makes viewers update the avatar's name by briefly changing the group title (to "(Loading)"), and then restoring it.
Definition at line 1421 of file ScenePresence.cs.
|
inline |
Gets the world rotation of this presence.
Unlike Rotation, this returns the world rotation no matter whether the avatar is sitting on a prim or not.
Definition at line 861 of file ScenePresence.cs.
|
inline |
Get velocity relative to the world.
Definition at line 877 of file ScenePresence.cs.
|
inline |
This allows the Sim owner the abiility to kick users from their sim currently. It tells the client that the agent has permission to do so.
Definition at line 4272 of file ScenePresence.cs.
|
inline |
Definition at line 3133 of file ScenePresence.cs.
|
inline |
Definition at line 3284 of file ScenePresence.cs.
|
inline |
Definition at line 3433 of file ScenePresence.cs.
|
inline |
This is the event handler for client movement. If a client is moving, this event is triggering.
Definition at line 2219 of file ScenePresence.cs.
|
inline |
Definition at line 5367 of file ScenePresence.cs.
|
inline |
Calculate an update to move the presence to the set target.
This doesn't actually perform the movement. Instead, it adds its vector to agent_control_v3.
Cumulative agent movement that this method will update.
Definition at line 2654 of file ScenePresence.cs.
|
inline |
Event handler for the 'Always run' setting on the client Tells the physics plugin to increase speed of movement.
Definition at line 3454 of file ScenePresence.cs.
|
inline |
Definition at line 3459 of file ScenePresence.cs.
|
inline |
Definition at line 3465 of file ScenePresence.cs.
|
inline |
Does this avatar have any attachments?
Implements OpenSim.Region.Framework.Interfaces.IScenePresence.
Definition at line 4850 of file ScenePresence.cs.
|
inline |
Definition at line 6261 of file ScenePresence.cs.
|
inline |
|
inline |
This turns a root agent into a child agent
when an agent departs this region for a neighbor, this gets called.
It doesn't get called for a teleport. Reason being, an agent that teleports out may not end up anywhere near this region
Definition at line 1444 of file ScenePresence.cs.
|
inline |
Move to the given target over time.
pos | |
noFly | If true, then don't allow the avatar to fly to the target, even if it's up in the air. This is to allow movement to targets that are known to be on an elevated platform with a continuous path from start to finish. |
landAtTarget | If true and the avatar starts flying during the move then land at the target. |
Definition at line 2819 of file ScenePresence.cs.
|
inline |
Event called by the physics plugin to tell the avatar about a collision.
This function is called continuously, even when there are no collisions. If the avatar is walking on the ground or a prim then there will be collision information between the avatar and the surface.
FIXME: However, we can't safely avoid calling this yet where there are no collisions without analyzing whether any part of this method is relying on an every-frame call.
e |
Definition at line 4625 of file ScenePresence.cs.
|
inline |
Definition at line 3162 of file ScenePresence.cs.
|
inline |
Definition at line 3205 of file ScenePresence.cs.
|
inline |
Definition at line 2162 of file ScenePresence.cs.
|
inline |
Definition at line 5315 of file ScenePresence.cs.
|
inline |
Definition at line 1083 of file ScenePresence.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.IScenePresence.
Definition at line 4929 of file ScenePresence.cs.
|
inline |
Removes physics plugin scene representation of this agent if it exists.
Definition at line 1500 of file ScenePresence.cs.
|
inline |
Definition at line 1742 of file ScenePresence.cs.
|
inline |
Reset the move to target.
Definition at line 2901 of file ScenePresence.cs.
|
inline |
Returns the total count of running scripts in all parts.
Definition at line 4897 of file ScenePresence.cs.
|
inline |
Returns the total count of scripts in all parts inventories.
Definition at line 4859 of file ScenePresence.cs.
|
inline |
A float the value is a representative execution time in milliseconds of all scripts in all attachments.
Definition at line 4878 of file ScenePresence.cs.
|
inline |
Definition at line 3639 of file ScenePresence.cs.
|
inline |
Definition at line 3940 of file ScenePresence.cs.
|
inline |
Definition at line 3906 of file ScenePresence.cs.
|
inline |
Definition at line 3917 of file ScenePresence.cs.
|
inline |
Definition at line 3928 of file ScenePresence.cs.
|
inline |
Definition at line 3935 of file ScenePresence.cs.
|
inline |
Definition at line 3891 of file ScenePresence.cs.
|
inline |
Definition at line 3900 of file ScenePresence.cs.
|
inline |
Send this agent's appearance to all other root and child agents in the scene This agent must be root.
Definition at line 3864 of file ScenePresence.cs.
|
inline |
Definition at line 5013 of file ScenePresence.cs.
|
inline |
Definition at line 5032 of file ScenePresence.cs.
|
inline |
Definition at line 5176 of file ScenePresence.cs.
|
inline |
Definition at line 5000 of file ScenePresence.cs.
|
inline |
Definition at line 4977 of file ScenePresence.cs.
|
inline |
Definition at line 5114 of file ScenePresence.cs.
|
inline |
Definition at line 5219 of file ScenePresence.cs.
|
inline |
|
inline |
Definition at line 3855 of file ScenePresence.cs.
|
inline |
Send this agent's avatar data to all other root and child agents in the scene This agent must be root. This avatar will receive its own update.
Definition at line 3791 of file ScenePresence.cs.
|
inline |
Definition at line 3710 of file ScenePresence.cs.
|
inline |
Definition at line 3725 of file ScenePresence.cs.
|
inline |
Definition at line 3627 of file ScenePresence.cs.
|
inline |
Definition at line 3833 of file ScenePresence.cs.
|
inline |
Definition at line 3816 of file ScenePresence.cs.
|
inline |
Send initial scene data to the client controlling this agent
This includes scene object data and the appearance data of other avatars.
Implements OpenSim.Framework.ISceneAgent.
Definition at line 3730 of file ScenePresence.cs.
|
inline |
Definition at line 6303 of file ScenePresence.cs.
|
inline |
Send avatar full data appearance and animations for all other root agents to this agent, this agent can be either a child or root
Definition at line 3763 of file ScenePresence.cs.
|
inline |
Send a script event to this scene presence's attachments
eventName | The name of the event |
args | The arguments for the event |
Definition at line 5264 of file ScenePresence.cs.
|
inline |
Definition at line 3665 of file ScenePresence.cs.
|
inline |
Definition at line 3684 of file ScenePresence.cs.
|
inline |
Send a location/velocity/accelleration update to all agents in scene
Definition at line 3700 of file ScenePresence.cs.
|
inline |
Sends a location update to the client connected to this scenePresence via entity updates
remoteClient |
Definition at line 3649 of file ScenePresence.cs.
|
inline |
Definition at line 3615 of file ScenePresence.cs.
|
inline |
Definition at line 6324 of file ScenePresence.cs.
|
inline |
Definition at line 6333 of file ScenePresence.cs.
|
inline |
Definition at line 4774 of file ScenePresence.cs.
|
inline |
Sets avatar height in the physics plugin
height | New height of avatar |
Definition at line 1812 of file ScenePresence.cs.
|
inline |
Definition at line 1726 of file ScenePresence.cs.
|
inline |
Definition at line 3719 of file ScenePresence.cs.
|
inline |
Definition at line 1818 of file ScenePresence.cs.
|
inline |
Definition at line 194 of file ScenePresence.cs.
|
inline |
Perform the logic necessary to stand the avatar up. This method also executes the stand animation.
Definition at line 2920 of file ScenePresence.cs.
|
inline |
Definition at line 1588 of file ScenePresence.cs.
|
inline |
Do not call this directly. Call Scene.RequestTeleportLocation() instead.
pos |
Definition at line 1524 of file ScenePresence.cs.
|
inline |
Definition at line 1529 of file ScenePresence.cs.
|
inline |
Definition at line 87 of file ScenePresence.cs.
|
inline |
Definition at line 5401 of file ScenePresence.cs.
|
inline |
Definition at line 5386 of file ScenePresence.cs.
|
inlinevirtual |
Performs any updates that need to be done at each frame, as opposed to immediately. These included scheduled updates and updates that occur due to physics processing.
Implements OpenSim.Region.Framework.Scenes.EntityBase.
Definition at line 3548 of file ScenePresence.cs.
|
inline |
Definition at line 4303 of file ScenePresence.cs.
|
inline |
This updates important decision making data about a child agent The main purpose is to figure out what objects to send to a child agent that's in a neighboring region
Definition at line 4324 of file ScenePresence.cs.
|
inline |
Handles part of the PID controller function for moving an avatar.
Definition at line 4554 of file ScenePresence.cs.
|
inline |
This is currently just being done for information.
Definition at line 4947 of file ScenePresence.cs.
const float OpenSim.Region.Framework.Scenes.ScenePresence.AgentControlNormalVel = 1.0f |
Definition at line 965 of file ScenePresence.cs.
const float OpenSim.Region.Framework.Scenes.ScenePresence.AgentControlNudgeVel = 1.0f |
Definition at line 964 of file ScenePresence.cs.
|
static |
Definition at line 157 of file ScenePresence.cs.
|
static |
Definition at line 158 of file ScenePresence.cs.
Vector4 OpenSim.Region.Framework.Scenes.ScenePresence.CollisionPlane = Vector4.UnitW |
Definition at line 274 of file ScenePresence.cs.
|
protected |
Definition at line 346 of file ScenePresence.cs.
Vector3 OpenSim.Region.Framework.Scenes.ScenePresence.lastKnownAllowedPosition |
Definition at line 272 of file ScenePresence.cs.
bool OpenSim.Region.Framework.Scenes.ScenePresence.LegacySitOffsets = true |
Definition at line 147 of file ScenePresence.cs.
|
protected |
Definition at line 379 of file ScenePresence.cs.
|
protected |
Definition at line 351 of file ScenePresence.cs.
|
protected |
Definition at line 352 of file ScenePresence.cs.
|
protected |
Definition at line 350 of file ScenePresence.cs.
|
static |
Movement updates for agents in neighboring regions are sent directly to clients. This value only affects how often agent positions are sent to neighbor regions for things such as distance-based update prioritization this are the square of real distances
Definition at line 155 of file ScenePresence.cs.
bool OpenSim.Region.Framework.Scenes.ScenePresence.sentMessageAboutRestrictedParcelFlyingDown |
Definition at line 273 of file ScenePresence.cs.
|
static |
Definition at line 156 of file ScenePresence.cs.
|
static |
Experimentally determined "fudge factor" to make sit-target positions the same as in SecondLife. Fudge factor was tested for 36 different test cases including prims of type box, sphere, cylinder, and torus, with varying parameters for sit target location, prim size, prim rotation, prim cut, prim twist, prim taper, and prim shear. See mantis issue #1716
Definition at line 146 of file ScenePresence.cs.
String OpenSim.Region.Framework.Scenes.ScenePresence.sitAnimation = "SIT" |
Definition at line 254 of file ScenePresence.cs.
|
getset |
Position of this avatar relative to the region the avatar is in
Definition at line 647 of file ScenePresence.cs.
|
getset |
Definition at line 627 of file ScenePresence.cs.
|
getset |
Is the agent stop control flag currently active?
Definition at line 480 of file ScenePresence.cs.
|
getset |
Definition at line 594 of file ScenePresence.cs.
|
get |
Definition at line 815 of file ScenePresence.cs.
|
getset |
The animator for this avatar
Definition at line 248 of file ScenePresence.cs.
|
getset |
Definition at line 382 of file ScenePresence.cs.
|
getset |
Definition at line 264 of file ScenePresence.cs.
|
getset |
Definition at line 541 of file ScenePresence.cs.
|
getset |
Definition at line 542 of file ScenePresence.cs.
|
getset |
Definition at line 531 of file ScenePresence.cs.
|
get |
Definition at line 534 of file ScenePresence.cs.
|
getset |
Definition at line 543 of file ScenePresence.cs.
|
get |
Definition at line 635 of file ScenePresence.cs.
|
getset |
Definition at line 639 of file ScenePresence.cs.
|
getset |
Definition at line 632 of file ScenePresence.cs.
|
getset |
Definition at line 167 of file ScenePresence.cs.
|
getset |
Used by the entity transfer module to signal when the presence should not be closed because a subsequent teleport is reusing the connection.
May be refactored or move somewhere else soon.
Definition at line 456 of file ScenePresence.cs.
|
getset |
Definition at line 575 of file ScenePresence.cs.
|
getset |
Definition at line 556 of file ScenePresence.cs.
|
getset |
Definition at line 988 of file ScenePresence.cs.
|
getset |
Definition at line 292 of file ScenePresence.cs.
|
getset |
Definition at line 980 of file ScenePresence.cs.
|
getset |
Definition at line 501 of file ScenePresence.cs.
|
getset |
Definition at line 560 of file ScenePresence.cs.
|
getset |
Definition at line 849 of file ScenePresence.cs.
|
getset |
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 397 of file ScenePresence.cs.
|
getset |
Definition at line 485 of file ScenePresence.cs.
|
getset |
Definition at line 819 of file ScenePresence.cs.
|
getset |
Definition at line 298 of file ScenePresence.cs.
|
getset |
This signals whether the presence is in transit between neighbouring regions.
It is not set when the presence is teleporting or logging in/out directly to a region.
Definition at line 941 of file ScenePresence.cs.
|
getset |
Definition at line 820 of file ScenePresence.cs.
|
getset |
Definition at line 93 of file ScenePresence.cs.
|
get |
Are we sitting on an object?
A more readable way of testing presence sit status than ParentID == 0
Definition at line 838 of file ScenePresence.cs.
|
get |
Definition at line 1796 of file ScenePresence.cs.
|
get |
Definition at line 1788 of file ScenePresence.cs.
|
getset |
Definition at line 1772 of file ScenePresence.cs.
|
getset |
Controls whether an avatar automatically moving to a target will land when it gets there (if flying).
Definition at line 363 of file ScenePresence.cs.
|
getset |
Definition at line 557 of file ScenePresence.cs.
|
getset |
The current state of this presence. Governs only the existence lifecycle. See ScenePresenceStateMachine for more details.
Definition at line 112 of file ScenePresence.cs.
|
get |
Definition at line 546 of file ScenePresence.cs.
|
getset |
Record user movement inputs.
Definition at line 475 of file ScenePresence.cs.
|
getset |
Definition at line 358 of file ScenePresence.cs.
|
getset |
Definition at line 357 of file ScenePresence.cs.
|
getset |
If sitting, returns the offset position from the prim the avatar is sitting on. Otherwise, returns absolute position in the scene.
Definition at line 719 of file ScenePresence.cs.
|
getset |
Server Side Animation Override
Definition at line 253 of file ScenePresence.cs.
|
get |
Definition at line 213 of file ScenePresence.cs.
|
get |
Definition at line 238 of file ScenePresence.cs.
|
getset |
If the avatar is sitting, the local ID of the prim that it's sitting on. If not sitting then zero.
Definition at line 825 of file ScenePresence.cs.
|
getset |
If the avatar is sitting, the prim that it's sitting on. If not sitting then null.
If you use this property then you must take a reference since another thread could set it to null.
Definition at line 846 of file ScenePresence.cs.
|
getset |
Definition at line 828 of file ScenePresence.cs.
|
getset |
Physical scene representation of this Avatar.
Definition at line 470 of file ScenePresence.cs.
|
getset |
Definition at line 96 of file ScenePresence.cs.
|
getset |
Definition at line 377 of file ScenePresence.cs.
|
getset |
Definition at line 510 of file ScenePresence.cs.
|
get |
Definition at line 587 of file ScenePresence.cs.
|
getset |
The rotation of the avatar.
If the avatar is not sitting, this is with respect to the world If the avatar is sitting, this is a with respect to the part that it's sitting upon (a local rotation). If you always want the world rotation, use GetWorldRotation()
Definition at line 786 of file ScenePresence.cs.
|
getset |
Definition at line 599 of file ScenePresence.cs.
|
getset |
Are we sitting on the ground?
Definition at line 322 of file ScenePresence.cs.
|
getset |
Definition at line 972 of file ScenePresence.cs.
|
getset |
Definition at line 622 of file ScenePresence.cs.
|
getset |
Definition at line 311 of file ScenePresence.cs.
|
getset |
When this is 'true', return a dummy group title instead of the real group title. This is used as part of a hack to force viewers to update the displayed avatar name.
Definition at line 570 of file ScenePresence.cs.
|
get |
Definition at line 286 of file ScenePresence.cs.
|
getset |
Definition at line 493 of file ScenePresence.cs.
|
getset |
Current velocity of the avatar.
Definition at line 738 of file ScenePresence.cs.
|
get |
Definition at line 994 of file ScenePresence.cs.