Свойство | Тип | Описание | |
---|---|---|---|
Entities | OpenSim.Framework.EntityManager | ||
RestorePresences | ScenePresence>.Dictionary | ||
SceneObjectGroupsByFullID | SceneObjectGroup>.Dictionary | ||
SceneObjectGroupsByLocalID | SceneObjectGroup>.Dictionary | ||
_PhyScene | PhysicsScene | ||
m_activeScripts | int | ||
m_numChildAgents | int | ||
m_numPrim | int | ||
m_numRootAgents | int | ||
m_parentScene | Scene | ||
m_physicalPrim | int | ||
m_presenceLock | object | ||
m_regInfo | RegionInfo | ||
m_scenePresenceArray | List |
||
m_scenePresenceMap | ScenePresence>.Dictionary | ||
m_scriptLPS | int | ||
m_syncRoot | object | ||
m_updateList | SceneObjectGroup>.Dictionary |
Метод | Описание | |
---|---|---|
AddNewSceneObject ( |
Add a newly created object to the scene.
|
|
DeleteSceneObject ( UUID uuid, bool resultOfObjectLinked ) : bool |
Delete an object from the scene
|
|
DropObject ( uint objectLocalID, IClientAPI remoteClient ) : void | ||
DuplicateObject ( uint originalPrimID, System.Vector3 offset, uint flags, UUID AgentID, UUID GroupID, Quaternion rot ) : |
Duplicate the given object.
|
|
ForEachScenePresence ( Action |
Performs action on all scene presences. This can ultimately run the actions in parallel but any delegates passed in will need to implement their own locking on data they reference and modify outside of the scope of the delegate.
|
|
GetActiveObjectsCount ( ) : int | ||
GetActiveScriptsCount ( ) : int | ||
GetChildAgentCount ( ) : int | ||
GetCoarseLocations ( List |
||
GetControllingClient ( UUID agentId ) : IClientAPI |
Get the controlling client for the given avatar, if there is one. FIXME: The only user of the method right now is Caps.cs, in order to resolve a client API since it can't use the ScenePresence. This could be better solved in a number of ways - we could establish an OpenSim.Framework.IScenePresence, or move the caps code into a region package (which might be the more suitable solution). this used to be protected internal, but that prevents CapabilitiesModule from accessing it |
|
GetGroupByPrim ( uint localID ) : |
Get a scene object group that contains the prim with the given local id
|
|
GetRootAgentCount ( ) : int | ||
GetScriptLPS ( ) : int | ||
GetTopScripts ( ) : float>.Dictionary |
||
GetTotalObjectsCount ( ) : int | ||
RecalculateStats ( ) : void | ||
UpdatePrimPosition ( uint localID, Vector3 pos, IClientAPI remoteClient ) : void |
Update the position of the given part
|
|
removeUserCount ( bool TypeRCTF ) : void |
Метод | Описание | |
---|---|---|
AddActiveScripts ( int number ) : void | ||
AddNewSceneObject ( |
Add a newly created object to the scene. This will both update the scene, and send information about the new object to all clients interested in the scene.
|
|
AddPhysicalPrim ( int number ) : void | ||
AddRestoredSceneObject ( |
Add an object into the scene that has come from storage
|
|
AddSceneObject ( |
Add an object to the scene. This will both update the scene, and send information about the new object to all clients interested in the scene.
|
|
AddScenePresence ( |
Add a presence to the scene
|
|
AddToScriptLPS ( int number ) : void | ||
AddToUpdateList ( |
Add an object to the list of prims to process on the next update
|
|
Close ( ) : void | ||
ConvertLocalIDToFullID ( uint localID ) : UUID | ||
CreateAndAddChildScenePresence ( IClientAPI client, |
||
DelinkObjects ( List |
Delink a linkset
|
|
DuplicateObject ( uint originalPrim, System.Vector3 offset, uint flags, UUID AgentID, UUID GroupID ) : void |
Duplicate the given object, Fire and Forget, No rotation, no return wrapper
|
|
ForEachSOG ( Action |
Performs action on all scene object groups.
|
|
GetClosestIntersectingPrim ( |
||
GetEntities ( ) : EntityBase[] |
Returns a list of the entities in the scene. This is a new list so no locking is required to iterate over it
|
|
GetSceneObjectPart ( UUID fullID ) : |
Get a part contained in this scene.
|
|
GetSceneObjectPart ( string name ) : |
Get a named prim contained in this scene (will return the first found, if there are more than one prim with the same name)
|
|
GetSceneObjectPart ( uint localID ) : |
Get a part contained in this scene.
|
|
GetScenePresence ( UUID agentID ) : |
Request a scene presence by UUID. Fast, indexed lookup.
|
|
GetScenePresence ( string firstName, string lastName ) : |
Request the scene presence by name.
|
|
GetScenePresence ( uint localID ) : |
Request the scene presence by localID.
|
|
HandleObjectGroupUpdate ( IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage ) : void | ||
HandleRedo ( IClientAPI remoteClient, UUID primId ) : void | ||
HandleUndo ( IClientAPI remoteClient, UUID primId ) : void | ||
LinkObjects ( |
Initial method invoked when we receive a link objects request from the client.
|
|
MakeObjectSearchable ( IClientAPI remoteClient, bool IncludeInSearch, uint localID ) : void | ||
MoveObject ( UUID objectID, System.Vector3 offset, System.Vector3 pos, IClientAPI remoteClient, List |
Move the given object
|
|
PrimClickAction ( IClientAPI remoteClient, uint primLocalID, string clickAction ) : void | ||
PrimDescription ( IClientAPI remoteClient, uint primLocalID, string description ) : void |
|
|
PrimMaterial ( IClientAPI remoteClient, uint primLocalID, string material ) : void | ||
PrimName ( IClientAPI remoteClient, uint primLocalID, string name ) : void |
|
|
RemovePhysicalPrim ( int number ) : void | ||
RemoveScenePresence ( UUID agentID ) : void |
Remove a presence from the scene
|
|
RequestObjectPropertiesFamily ( IClientAPI remoteClient, UUID AgentID, uint RequestFlags, UUID ObjectID ) : void |
This handles the nifty little tool tip that you get when you drag your mouse over an object Send to the Object Group to process. We don't know enough to service the request
|
|
SceneGraph ( Scene parent, RegionInfo regInfo ) : System | ||
SpinObject ( UUID objectID, Quaternion rotation, IClientAPI remoteClient ) : void |
Spin the given object
|
|
SpinStart ( UUID objectID, IClientAPI remoteClient ) : void |
Start spinning the given object
|
|
SwapRootChildAgent ( bool direction_RC_CR_T_F ) : void | ||
TryGetAvatarByName ( string name, ScenePresence &avatar ) : bool | ||
TryGetScenePresence ( UUID agentID, ScenePresence &avatar ) : bool | ||
UpdateExtraParam ( UUID agentID, uint primLocalID, ushort type, bool inUse, byte data ) : void | ||
UpdateObjectGroups ( ) : void |
Process all pending updates
|
|
UpdatePhysics ( double elapsed ) : float | ||
UpdatePreparePhysics ( ) : void | ||
UpdatePresences ( ) : void | ||
UpdatePrimFlags ( uint localID, bool UsePhysics, bool IsTemporary, bool IsPhantom, IClientAPI remoteClient ) : void |
|
|
UpdatePrimGroupScale ( uint localID, Vector3 scale, IClientAPI remoteClient ) : void | ||
UpdatePrimRotation ( uint localID, Quaternion rot, IClientAPI remoteClient ) : void |
|
|
UpdatePrimRotation ( uint localID, Vector3 pos, Quaternion rot, IClientAPI remoteClient ) : void |
|
|
UpdatePrimScale ( uint localID, Vector3 scale, IClientAPI remoteClient ) : void |
|
|
UpdatePrimShape ( UUID agentID, uint primLocalID, UpdateShapeArgs shapeBlock ) : void |
|
|
UpdatePrimSinglePosition ( uint localID, Vector3 pos, IClientAPI remoteClient ) : void |
Update the position of the given part
|
|
UpdatePrimSingleRotation ( uint localID, Quaternion rot, IClientAPI remoteClient ) : void |
|
|
UpdatePrimSingleRotationPosition ( uint localID, Quaternion rot, Vector3 pos, IClientAPI remoteClient ) : void |
|
|
UpdatePrimTexture ( uint localID, byte texture, IClientAPI remoteClient ) : void |
Update the texture entry of the given prim.
|
|
UpdateScenePresenceMovement ( ) : void | ||
Vector3Distance ( Vector3 v1, Vector3 v2 ) : float |
Calculates the distance between two Vector3s
|
|
physicsBasedCrash ( ) : void |
Метод | Описание | |
---|---|---|
GetGroupByPrim ( UUID fullID ) : |
Get a scene object group that contains the prim with the given uuid
|
|
GetScenePresences ( ) : List |
Get a reference to the scene presence list. Changes to the list will be done in a copy There is no guarantee that presences will remain in the scene after the list is returned. This list should remain private to SceneGraph. Callers wishing to iterate should instead pass a delegate to ForEachScenePresence.
|
protected AddActiveScripts ( int number ) : void | ||
number | int | |
Результат | void |
public AddNewSceneObject ( |
||
sceneObject | ||
attachToBackup | bool | |
pos | System.Vector3 | Position of the object |
rot | Quaternion | Rotation of the object |
vel | System.Vector3 | Velocity of the object. This parameter only has an effect if the object is physical |
Результат | bool |
protected AddNewSceneObject ( |
||
sceneObject | ||
attachToBackup | bool | /// If true, the object is made persistent into the scene. /// If false, the object will not persist over server restarts /// |
sendClientUpdates | bool | |
Результат | bool |
protected AddPhysicalPrim ( int number ) : void | ||
number | int | |
Результат | void |
protected AddRestoredSceneObject ( |
||
sceneObject | ||
attachToBackup | bool | /// If true, changes to the object will be reflected in its persisted data /// If false, the persisted data will not be changed even if the object in the scene is changed /// |
alreadyPersisted | bool | /// If true, we won't persist this object until it changes /// If false, we'll persist this object immediately /// |
sendClientUpdates | bool | /// If true, we send updates to the client to tell it about this object /// If false, we leave it up to the caller to do this /// |
Результат | bool |
protected AddSceneObject ( |
||
sceneObject | ||
attachToBackup | bool | /// If true, the object is made persistent into the scene. /// If false, the object will not persist over server restarts /// |
sendClientUpdates | bool | /// If true, updates for the new scene object are sent to all viewers in range. /// If false, it is left to the caller to schedule the update /// |
Результат | bool |
protected AddScenePresence ( |
||
presence | ||
Результат | void |
protected AddToScriptLPS ( int number ) : void | ||
number | int | |
Результат | void |
protected AddToUpdateList ( |
||
obj |
/// A |
|
Результат | void |
protected ConvertLocalIDToFullID ( uint localID ) : UUID | ||
localID | uint | |
Результат | UUID |
protected CreateAndAddChildScenePresence ( IClientAPI client, |
||
client | IClientAPI | |
appearance | ||
Результат |
public DeleteSceneObject ( UUID uuid, bool resultOfObjectLinked ) : bool | ||
uuid | UUID | |
resultOfObjectLinked | bool | |
Результат | bool |
protected DelinkObjects ( List |
||
prims | List |
|
Результат | void |
public DropObject ( uint objectLocalID, IClientAPI remoteClient ) : void | ||
objectLocalID | uint | |
remoteClient | IClientAPI | |
Результат | void |
public DuplicateObject ( uint originalPrimID, System.Vector3 offset, uint flags, UUID AgentID, UUID GroupID, Quaternion rot ) : |
||
originalPrimID | uint | |
offset | System.Vector3 | |
flags | uint | |
AgentID | UUID | |
GroupID | UUID | |
rot | Quaternion | |
Результат |
protected DuplicateObject ( uint originalPrim, System.Vector3 offset, uint flags, UUID AgentID, UUID GroupID ) : void | ||
originalPrim | uint | |
offset | System.Vector3 | |
flags | uint | |
AgentID | UUID | |
GroupID | UUID | |
Результат | void |
protected ForEachSOG ( Action |
||
action | Action |
|
Результат | void |
public ForEachScenePresence ( Action |
||
action | Action |
|
Результат | void |
protected GetClosestIntersectingPrim ( |
||
hray | ||
frontFacesOnly | bool | |
faceCenters | bool | |
Результат | EntityIntersection |
public GetCoarseLocations ( List |
||
coarseLocations | List |
|
avatarUUIDs | List |
|
maxLocations | uint | |
Результат | void |
public GetControllingClient ( UUID agentId ) : IClientAPI | ||
agentId | UUID | |
Результат | IClientAPI |
public GetGroupByPrim ( uint localID ) : |
||
localID | uint | |
Результат |
protected GetSceneObjectPart ( UUID fullID ) : |
||
fullID | UUID | |
Результат |
protected GetSceneObjectPart ( string name ) : |
||
name | string | |
Результат |
protected GetSceneObjectPart ( uint localID ) : |
||
localID | uint | |
Результат |
protected GetScenePresence ( UUID agentID ) : |
||
agentID | UUID | |
Результат |
protected GetScenePresence ( string firstName, string lastName ) : |
||
firstName | string | |
lastName | string | |
Результат |
protected GetScenePresence ( uint localID ) : |
||
localID | uint | |
Результат |
public GetTopScripts ( ) : float>.Dictionary |
||
Результат | float>.Dictionary |
protected HandleObjectGroupUpdate ( IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage ) : void | ||
remoteClient | IClientAPI | |
GroupID | UUID | |
objectLocalID | uint | |
Garbage | UUID | |
Результат | void |
protected HandleRedo ( IClientAPI remoteClient, UUID primId ) : void | ||
remoteClient | IClientAPI | |
primId | UUID | |
Результат | void |
protected HandleUndo ( IClientAPI remoteClient, UUID primId ) : void | ||
remoteClient | IClientAPI | |
primId | UUID | |
Результат | void |
protected LinkObjects ( |
||
root | ||
children | List |
|
Результат | void |
protected MakeObjectSearchable ( IClientAPI remoteClient, bool IncludeInSearch, uint localID ) : void | ||
remoteClient | IClientAPI | |
IncludeInSearch | bool | |
localID | uint | |
Результат | void |
protected MoveObject ( UUID objectID, System.Vector3 offset, System.Vector3 pos, IClientAPI remoteClient, List |
||
objectID | UUID | |
offset | System.Vector3 | |
pos | System.Vector3 | |
remoteClient | IClientAPI | |
surfaceArgs | List |
|
Результат | void |
protected PrimClickAction ( IClientAPI remoteClient, uint primLocalID, string clickAction ) : void | ||
remoteClient | IClientAPI | |
primLocalID | uint | |
clickAction | string | |
Результат | void |
protected PrimDescription ( IClientAPI remoteClient, uint primLocalID, string description ) : void | ||
remoteClient | IClientAPI | |
primLocalID | uint | |
description | string | |
Результат | void |
protected PrimMaterial ( IClientAPI remoteClient, uint primLocalID, string material ) : void | ||
remoteClient | IClientAPI | |
primLocalID | uint | |
material | string | |
Результат | void |
protected PrimName ( IClientAPI remoteClient, uint primLocalID, string name ) : void | ||
remoteClient | IClientAPI | |
primLocalID | uint | |
name | string | |
Результат | void |
protected RemovePhysicalPrim ( int number ) : void | ||
number | int | |
Результат | void |
protected RemoveScenePresence ( UUID agentID ) : void | ||
agentID | UUID | |
Результат | void |
protected RequestObjectPropertiesFamily ( IClientAPI remoteClient, UUID AgentID, uint RequestFlags, UUID ObjectID ) : void | ||
remoteClient | IClientAPI | |
AgentID | UUID | |
RequestFlags | uint | |
ObjectID | UUID | |
Результат | void |
protected SceneGraph ( Scene parent, RegionInfo regInfo ) : System | ||
parent | Scene | |
regInfo | RegionInfo | |
Результат | System |
protected SpinObject ( UUID objectID, Quaternion rotation, IClientAPI remoteClient ) : void | ||
objectID | UUID | |
rotation | Quaternion | |
remoteClient | IClientAPI | |
Результат | void |
protected SpinStart ( UUID objectID, IClientAPI remoteClient ) : void | ||
objectID | UUID | |
remoteClient | IClientAPI | |
Результат | void |
protected SwapRootChildAgent ( bool direction_RC_CR_T_F ) : void | ||
direction_RC_CR_T_F | bool | |
Результат | void |
protected TryGetAvatarByName ( string name, ScenePresence &avatar ) : bool | ||
name | string | |
avatar | ScenePresence | |
Результат | bool |
protected TryGetScenePresence ( UUID agentID, ScenePresence &avatar ) : bool | ||
agentID | UUID | |
avatar | ScenePresence | |
Результат | bool |
protected UpdateExtraParam ( UUID agentID, uint primLocalID, ushort type, bool inUse, byte data ) : void | ||
agentID | UUID | |
primLocalID | uint | |
type | ushort | |
inUse | bool | |
data | byte | |
Результат | void |
protected UpdatePhysics ( double elapsed ) : float | ||
elapsed | double | |
Результат | float |
protected UpdatePrimFlags ( uint localID, bool UsePhysics, bool IsTemporary, bool IsPhantom, IClientAPI remoteClient ) : void | ||
localID | uint | |
UsePhysics | bool | |
IsTemporary | bool | |
IsPhantom | bool | |
remoteClient | IClientAPI | |
Результат | void |
protected UpdatePrimGroupScale ( uint localID, Vector3 scale, IClientAPI remoteClient ) : void | ||
localID | uint | |
scale | Vector3 | |
remoteClient | IClientAPI | |
Результат | void |
public UpdatePrimPosition ( uint localID, Vector3 pos, IClientAPI remoteClient ) : void | ||
localID | uint | |
pos | Vector3 | |
remoteClient | IClientAPI | |
Результат | void |
protected UpdatePrimRotation ( uint localID, Quaternion rot, IClientAPI remoteClient ) : void | ||
localID | uint | |
rot | Quaternion | |
remoteClient | IClientAPI | |
Результат | void |
protected UpdatePrimRotation ( uint localID, Vector3 pos, Quaternion rot, IClientAPI remoteClient ) : void | ||
localID | uint | |
pos | Vector3 | |
rot | Quaternion | |
remoteClient | IClientAPI | |
Результат | void |
protected UpdatePrimScale ( uint localID, Vector3 scale, IClientAPI remoteClient ) : void | ||
localID | uint | |
scale | Vector3 | |
remoteClient | IClientAPI | |
Результат | void |
protected UpdatePrimShape ( UUID agentID, uint primLocalID, UpdateShapeArgs shapeBlock ) : void | ||
agentID | UUID | |
primLocalID | uint | |
shapeBlock | UpdateShapeArgs | |
Результат | void |
protected UpdatePrimSinglePosition ( uint localID, Vector3 pos, IClientAPI remoteClient ) : void | ||
localID | uint | |
pos | Vector3 | |
remoteClient | IClientAPI | |
Результат | void |
protected UpdatePrimSingleRotation ( uint localID, Quaternion rot, IClientAPI remoteClient ) : void | ||
localID | uint | |
rot | Quaternion | |
remoteClient | IClientAPI | |
Результат | void |
protected UpdatePrimSingleRotationPosition ( uint localID, Quaternion rot, Vector3 pos, IClientAPI remoteClient ) : void | ||
localID | uint | |
rot | Quaternion | |
pos | Vector3 | |
remoteClient | IClientAPI | |
Результат | void |
protected UpdatePrimTexture ( uint localID, byte texture, IClientAPI remoteClient ) : void | ||
localID | uint | |
texture | byte | |
remoteClient | IClientAPI | |
Результат | void |
protected UpdateScenePresenceMovement ( ) : void | ||
Результат | void |
protected Vector3Distance ( Vector3 v1, Vector3 v2 ) : float | ||
v1 | Vector3 | |
v2 | Vector3 | |
Результат | float |
public removeUserCount ( bool TypeRCTF ) : void | ||
TypeRCTF | bool | |
Результат | void |
protected EntityManager,OpenSim.Framework Entities | ||
Результат | OpenSim.Framework.EntityManager |
protected Dictionary |
||
Результат | ScenePresence>.Dictionary |
protected Dictionary |
||
Результат | SceneObjectGroup>.Dictionary |
protected Dictionary |
||
Результат | SceneObjectGroup>.Dictionary |
protected Dictionary |
||
Результат | ScenePresence>.Dictionary |