C# Class Universe.Region.SceneGraph

This class used to be called InnerScene and may not yet truly be a SceneGraph. The non scene graph components should be migrated out over time.
Inheritance: ISceneGraph
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Свойство Type Description
EnableFakeRaycasting bool
Entities Universe.Framework.SceneInfo.Entities.EntityManager
_PhyScene PhysicsScene
m_DefaultObjectName string
m_entityCreators IEntityCreator>.Dictionary
m_lastAllocatedLocalId uint
m_parentScene IScene
m_regInfo RegionInfo
m_syncRoot object

Méthodes publiques

Méthode Description
AddNewPrim ( UUID ownerID, UUID groupID, System.Vector3 pos, Quaternion rot, PrimitiveBaseShape shape ) : ISceneEntity

Create a New SceneObjectGroup/Part by raycasting

AddNewPrim ( UUID ownerID, UUID groupID, System.Vector3 RayEnd, Quaternion rot, PrimitiveBaseShape shape, byte bypassRaycast, System.Vector3 RayStart, UUID RayTargetID, byte RayEndIsIntersection ) : void
AddPrimToScene ( ISceneEntity entity ) : bool

Add the Entity to the Scene and back it up

AllocateLocalId ( ) : uint

Returns a new unallocated local ID

CheckAllocationOfLocalIds ( ISceneEntity group ) : void

Check all the localIDs in this group to make sure that they have not been used previously

DeLinkPartFromEntity ( ISceneEntity entity, ISceneChildEntity part ) : bool

Delinks the object from the group in the EntityManager

DeleteEntity ( IEntity entity ) : bool

Destroy the entity and remove it from the scene

DelinkObjects ( List primIds, IClientAPI client ) : void
DelinkPartToScene ( ISceneEntity entity ) : void

Move this group from inside of another group into the Scene as a full member This does not reset IDs so that it is updated correctly in the client

DuplicateEntity ( ISceneEntity entity ) : ISceneEntity

Duplicate the entity and add it to the Scene

DuplicateObject ( uint LocalID, System.Vector3 offset, uint flags, UUID AgentID, UUID GroupID, Quaternion rot ) : bool

Duplicate the given entity and add it to the world

ForEachScenePresence ( Action action ) : void

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.

GetCoarseLocations ( List &coarseLocations, List &avatarUUIDs, uint maxLocations ) : bool
GetIntersectingPrims ( Ray hray, float length, int count, bool frontFacesOnly, bool faceCenters, bool getAvatars, bool getLand, bool getPrims ) : List

Gets a list of scene object group that intersect with the given ray

GetNewRezLocation ( System.Vector3 RayStart, System.Vector3 RayEnd, UUID RayTargetID, Quaternion rot, byte bypassRayCast, byte RayEndIsIntersection, bool frontFacesOnly, System.Vector3 scale, bool FaceCenter ) : System.Vector3

Gets a new rez location based on the raycast and the size of the object that is being rezzed.

GetScenePresence ( string name ) : IScenePresence

Request the scene presence by name.

GetScenePresence ( uint localID ) : IScenePresence

Request the scene presence by localID.

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.

HandleObjectPermissionsUpdate ( IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set ) : void
LinkObjects ( IClientAPI client, uint parentPrimId, List childPrimIds ) : void
LinkPartToEntity ( ISceneEntity entity, ISceneChildEntity part ) : bool

Add the new part to the group in the EntityManager

LinkPartToSOG ( ISceneEntity grp, ISceneChildEntity part, int linkNum ) : bool
LinkSetSorter ( ISceneChildEntity a, ISceneChildEntity b ) : int

Sorts a list of Parts by Link Number so they end up in the correct order

PrepPrimForAdditionToScene ( ISceneEntity entity ) : void

Get this prim ready to add to the scene

ProcessObjectDeGrab ( uint localID, IClientAPI remoteClient, List surfaceArgs ) : void
ProcessObjectGrab ( uint localID, Vector3 offsetPos, IClientAPI remoteClient, List surfaceArgs ) : void
ProcessObjectGrabUpdate ( UUID objectID, Vector3 offset, Vector3 pos, IClientAPI remoteClient, List surfaceArgs ) : void
RegisterEntityCreatorModule ( IEntityCreator entityCreator ) : void
RestorePrimToScene ( ISceneEntity entity, bool force ) : bool

Add the Entity to the Scene and back it up, but do NOT reset its ID's

SubscribeToClientEvents ( IClientAPI client ) : void
TaintPresenceForUpdate ( IScenePresence presence, PresenceTaint taint ) : void
TryGetEntity ( UUID ID, IEntity &entity ) : bool

Try to get an EntityBase as given by its UUID

TryGetEntity ( uint LocalID, IEntity &entity ) : bool

Try to get an EntityBase as given by it's LocalID

TryGetPart ( UUID ID, ISceneChildEntity &entity ) : bool

Get a part (SceneObjectPart) from the EntityManager by UUID

TryGetPart ( uint LocalID, ISceneChildEntity &entity ) : bool

Get a part (SceneObjectPart) from the EntityManager by LocalID

UnSubscribeToClientEvents ( IClientAPI client ) : void
UnregisterEntityCreatorCommander ( IEntityCreator entityCreator ) : void

Unregister a module commander and all its commands

UpdateEntity ( ISceneEntity entity, UUID newID ) : void

THIS IS TO ONLY BE CALLED WHEN AN OBJECT UUID IS UPDATED!!! This method is HIGHLY unsafe and destroys the integrity of the checks above! This is NOT to be used lightly! Do NOT use this unless you have to!

doObjectDuplicateOnRay ( uint localID, uint dupeFlags, UUID AgentID, UUID GroupID, UUID RayTargetObj, Vector3 RayEnd, Vector3 RayStart, bool BypassRaycast, bool RayEndIsIntersection, bool CopyCenters, bool CopyRotates ) : void

Duplicates object specified by localID at position raycasted against RayTargetObject using RayEnd and RayStart to determine what the angle of the ray is

Méthodes protégées

Méthode Description
AddScenePresence ( IScenePresence presence ) : void

Add a presence to the scene

Close ( ) : void
DelinkObjects ( List prims ) : void

Delink a linkset

ForEachSceneEntity ( Action action ) : void

Performs action on all scene object groups.

GetClosestIntersectingPrim ( Ray hray, bool frontFacesOnly, bool faceCenters ) : EntityIntersection

Get a scene object group that contains the prim with the given uuid

GetScenePresence ( UUID agentID ) : IScenePresence

Request a scene presence by UUID. Fast, indexed lookup.

HandleObjectGroupUpdate ( IClientAPI remoteClient, UUID GroupID, uint LocalID, UUID Garbage ) : void
HandleRedo ( IClientAPI remoteClient, UUID primId ) : void
HandleUndo ( IClientAPI remoteClient, UUID primId ) : void
LinkObjects ( ISceneChildEntity root, List children ) : void

Initial method invoked when we receive a link objects request from the client.

MakeObjectSearchable ( IClientAPI remoteClient, bool IncludeInSearch, uint LocalID ) : void

Make this object be added to search

MoveObject ( UUID ObjectID, Vector3 offset, Vector3 pos, IClientAPI remoteClient, List surfaceArgs ) : void

Move the given object

ObjectOwner ( IClientAPI remoteClient, UUID ownerID, UUID groupID, List localIDs ) : void
PrimClickAction ( IClientAPI remoteClient, uint LocalID, string clickAction ) : void
PrimDescription ( IClientAPI remoteClient, uint LocalID, string description ) : void

PrimMaterial ( IClientAPI remoteClient, uint LocalID, string material ) : void
PrimName ( IClientAPI remoteClient, uint LocalID, string name ) : void

RemoveScenePresence ( IEntity agent ) : 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 ( IScene 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

TryGetAvatarByName ( string name, IScenePresence &avatar ) : bool
TryGetScenePresence ( UUID agentID, IScenePresence &avatar ) : bool
UpdateEntities ( ) : void
UpdateExtraParam ( UUID agentID, uint LocalID, ushort type, bool inUse, byte data ) : void
UpdatePhysics ( float elapsed ) : void
UpdatePreparePhysics ( ) : void
UpdatePrimFlags ( uint LocalID, bool UsePhysics, bool IsTemporary, bool IsPhantom, ObjectFlagUpdatePacket blocks, IClientAPI remoteClient ) : void

A user has changed an object setting

UpdatePrimGroupScale ( uint LocalID, Vector3 scale, IClientAPI remoteClient ) : void
UpdatePrimPosition ( uint LocalID, Vector3 pos, IClientAPI remoteClient, bool SaveUpdate ) : void

Update the position of the given part

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 LocalID, UpdateShapeArgs shapeBlock ) : void

UpdatePrimSinglePosition ( uint LocalID, Vector3 pos, IClientAPI remoteClient, bool SaveUpdate ) : 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.

Private Methods

Méthode Description
AddEntity ( IEntity entity, bool AllowUpdate ) : bool

Add this entity to the EntityManager

CheckAllocationOfLocalId ( uint LocalID ) : void

Make sure that this localID has not been used earlier in the Scene Startup

RemoveEntity ( IEntity entity ) : bool

Remove this entity fully from the EntityManager

ResetEntityIDs ( ISceneEntity entity ) : void

Reset all of the UUID's, localID's, etc in this group (includes children)

Method Details

AddNewPrim() public méthode

Create a New SceneObjectGroup/Part by raycasting
public AddNewPrim ( UUID ownerID, UUID groupID, System.Vector3 pos, Quaternion rot, PrimitiveBaseShape shape ) : ISceneEntity
ownerID UUID
groupID UUID
pos System.Vector3
rot Quaternion
shape PrimitiveBaseShape
Résultat ISceneEntity

AddNewPrim() public méthode

public AddNewPrim ( UUID ownerID, UUID groupID, System.Vector3 RayEnd, Quaternion rot, PrimitiveBaseShape shape, byte bypassRaycast, System.Vector3 RayStart, UUID RayTargetID, byte RayEndIsIntersection ) : void
ownerID UUID
groupID UUID
RayEnd System.Vector3
rot Quaternion
shape PrimitiveBaseShape
bypassRaycast byte
RayStart System.Vector3
RayTargetID UUID
RayEndIsIntersection byte
Résultat void

AddPrimToScene() public méthode

Add the Entity to the Scene and back it up
public AddPrimToScene ( ISceneEntity entity ) : bool
entity ISceneEntity
Résultat bool

AddScenePresence() protected méthode

Add a presence to the scene
protected AddScenePresence ( IScenePresence presence ) : void
presence IScenePresence
Résultat void

AllocateLocalId() public méthode

Returns a new unallocated local ID
public AllocateLocalId ( ) : uint
Résultat uint

CheckAllocationOfLocalIds() public méthode

Check all the localIDs in this group to make sure that they have not been used previously
public CheckAllocationOfLocalIds ( ISceneEntity group ) : void
group ISceneEntity
Résultat void

Close() protected méthode

protected Close ( ) : void
Résultat void

DeLinkPartFromEntity() public méthode

Delinks the object from the group in the EntityManager
public DeLinkPartFromEntity ( ISceneEntity entity, ISceneChildEntity part ) : bool
entity ISceneEntity
part ISceneChildEntity
Résultat bool

DeleteEntity() public méthode

Destroy the entity and remove it from the scene
public DeleteEntity ( IEntity entity ) : bool
entity IEntity
Résultat bool

DelinkObjects() protected méthode

Delink a linkset
protected DelinkObjects ( List prims ) : void
prims List
Résultat void

DelinkObjects() public méthode

public DelinkObjects ( List primIds, IClientAPI client ) : void
primIds List
client IClientAPI
Résultat void

DelinkPartToScene() public méthode

Move this group from inside of another group into the Scene as a full member This does not reset IDs so that it is updated correctly in the client
public DelinkPartToScene ( ISceneEntity entity ) : void
entity ISceneEntity
Résultat void

DuplicateEntity() public méthode

Duplicate the entity and add it to the Scene
public DuplicateEntity ( ISceneEntity entity ) : ISceneEntity
entity ISceneEntity
Résultat ISceneEntity

DuplicateObject() public méthode

Duplicate the given entity and add it to the world
public DuplicateObject ( uint LocalID, System.Vector3 offset, uint flags, UUID AgentID, UUID GroupID, Quaternion rot ) : bool
LocalID uint LocalID of the object to duplicate
offset System.Vector3 Duplicated objects position offset from the original entity
flags uint Flags to give the Duplicated object
AgentID UUID
GroupID UUID
rot Quaternion Rotation to have the duplicated entity set to
Résultat bool

ForEachSceneEntity() protected méthode

Performs action on all scene object groups.
protected ForEachSceneEntity ( Action action ) : void
action Action
Résultat void

ForEachScenePresence() public méthode

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.
public ForEachScenePresence ( Action action ) : void
action Action
Résultat void

GetClosestIntersectingPrim() protected méthode

Get a scene object group that contains the prim with the given uuid
protected GetClosestIntersectingPrim ( Ray hray, bool frontFacesOnly, bool faceCenters ) : EntityIntersection
hray OpenMetaverse.Ray
frontFacesOnly bool
faceCenters bool
Résultat Universe.Framework.SceneInfo.Entities.EntityIntersection

GetCoarseLocations() public méthode

public GetCoarseLocations ( List &coarseLocations, List &avatarUUIDs, uint maxLocations ) : bool
coarseLocations List
avatarUUIDs List
maxLocations uint
Résultat bool

GetIntersectingPrims() public méthode

Gets a list of scene object group that intersect with the given ray
public GetIntersectingPrims ( Ray hray, float length, int count, bool frontFacesOnly, bool faceCenters, bool getAvatars, bool getLand, bool getPrims ) : List
hray OpenMetaverse.Ray
length float
count int
frontFacesOnly bool
faceCenters bool
getAvatars bool
getLand bool
getPrims bool
Résultat List

GetNewRezLocation() public méthode

Gets a new rez location based on the raycast and the size of the object that is being rezzed.
public GetNewRezLocation ( System.Vector3 RayStart, System.Vector3 RayEnd, UUID RayTargetID, Quaternion rot, byte bypassRayCast, byte RayEndIsIntersection, bool frontFacesOnly, System.Vector3 scale, bool FaceCenter ) : System.Vector3
RayStart System.Vector3
RayEnd System.Vector3
RayTargetID UUID
rot Quaternion
bypassRayCast byte
RayEndIsIntersection byte
frontFacesOnly bool
scale System.Vector3
FaceCenter bool
Résultat System.Vector3

GetScenePresence() protected méthode

Request a scene presence by UUID. Fast, indexed lookup.
protected GetScenePresence ( UUID agentID ) : IScenePresence
agentID UUID
Résultat IScenePresence

GetScenePresence() public méthode

Request the scene presence by name.
public GetScenePresence ( string name ) : IScenePresence
name string
Résultat IScenePresence

GetScenePresence() public méthode

Request the scene presence by localID.
public GetScenePresence ( uint localID ) : IScenePresence
localID uint
Résultat IScenePresence

GetScenePresences() public méthode

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.
public GetScenePresences ( ) : List
Résultat List

HandleObjectGroupUpdate() protected méthode

protected HandleObjectGroupUpdate ( IClientAPI remoteClient, UUID GroupID, uint LocalID, UUID Garbage ) : void
remoteClient IClientAPI
GroupID UUID
LocalID uint
Garbage UUID
Résultat void

HandleObjectPermissionsUpdate() public méthode

public HandleObjectPermissionsUpdate ( IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set ) : void
controller IClientAPI
agentID UUID
sessionID UUID
field byte
localId uint
mask uint
set byte
Résultat void

HandleRedo() protected méthode

protected HandleRedo ( IClientAPI remoteClient, UUID primId ) : void
remoteClient IClientAPI
primId UUID
Résultat void

HandleUndo() protected méthode

protected HandleUndo ( IClientAPI remoteClient, UUID primId ) : void
remoteClient IClientAPI
primId UUID
Résultat void

LinkObjects() public méthode

public LinkObjects ( IClientAPI client, uint parentPrimId, List childPrimIds ) : void
client IClientAPI
parentPrimId uint
childPrimIds List
Résultat void

LinkObjects() protected méthode

Initial method invoked when we receive a link objects request from the client.
protected LinkObjects ( ISceneChildEntity root, List children ) : void
root ISceneChildEntity
children List
Résultat void

LinkPartToEntity() public méthode

Add the new part to the group in the EntityManager
public LinkPartToEntity ( ISceneEntity entity, ISceneChildEntity part ) : bool
entity ISceneEntity
part ISceneChildEntity
Résultat bool

LinkPartToSOG() public méthode

public LinkPartToSOG ( ISceneEntity grp, ISceneChildEntity part, int linkNum ) : bool
grp ISceneEntity
part ISceneChildEntity
linkNum int
Résultat bool

LinkSetSorter() public méthode

Sorts a list of Parts by Link Number so they end up in the correct order
public LinkSetSorter ( ISceneChildEntity a, ISceneChildEntity b ) : int
a ISceneChildEntity
b ISceneChildEntity
Résultat int

MakeObjectSearchable() protected méthode

Make this object be added to search
protected MakeObjectSearchable ( IClientAPI remoteClient, bool IncludeInSearch, uint LocalID ) : void
remoteClient IClientAPI
IncludeInSearch bool
LocalID uint
Résultat void

MoveObject() protected méthode

Move the given object
protected MoveObject ( UUID ObjectID, Vector3 offset, Vector3 pos, IClientAPI remoteClient, List surfaceArgs ) : void
ObjectID UUID
offset Vector3
pos Vector3
remoteClient IClientAPI
surfaceArgs List
Résultat void

ObjectOwner() protected méthode

protected ObjectOwner ( IClientAPI remoteClient, UUID ownerID, UUID groupID, List localIDs ) : void
remoteClient IClientAPI
ownerID UUID
groupID UUID
localIDs List
Résultat void

PrepPrimForAdditionToScene() public méthode

Get this prim ready to add to the scene
public PrepPrimForAdditionToScene ( ISceneEntity entity ) : void
entity ISceneEntity
Résultat void

PrimClickAction() protected méthode

protected PrimClickAction ( IClientAPI remoteClient, uint LocalID, string clickAction ) : void
remoteClient IClientAPI
LocalID uint
clickAction string
Résultat void

PrimDescription() protected méthode

protected PrimDescription ( IClientAPI remoteClient, uint LocalID, string description ) : void
remoteClient IClientAPI
LocalID uint
description string
Résultat void

PrimMaterial() protected méthode

protected PrimMaterial ( IClientAPI remoteClient, uint LocalID, string material ) : void
remoteClient IClientAPI
LocalID uint
material string
Résultat void

PrimName() protected méthode

protected PrimName ( IClientAPI remoteClient, uint LocalID, string name ) : void
remoteClient IClientAPI
LocalID uint
name string
Résultat void

ProcessObjectDeGrab() public méthode

public ProcessObjectDeGrab ( uint localID, IClientAPI remoteClient, List surfaceArgs ) : void
localID uint
remoteClient IClientAPI
surfaceArgs List
Résultat void

ProcessObjectGrab() public méthode

public ProcessObjectGrab ( uint localID, Vector3 offsetPos, IClientAPI remoteClient, List surfaceArgs ) : void
localID uint
offsetPos Vector3
remoteClient IClientAPI
surfaceArgs List
Résultat void

ProcessObjectGrabUpdate() public méthode

public ProcessObjectGrabUpdate ( UUID objectID, Vector3 offset, Vector3 pos, IClientAPI remoteClient, List surfaceArgs ) : void
objectID UUID
offset Vector3
pos Vector3
remoteClient IClientAPI
surfaceArgs List
Résultat void

RegisterEntityCreatorModule() public méthode

public RegisterEntityCreatorModule ( IEntityCreator entityCreator ) : void
entityCreator IEntityCreator
Résultat void

RemoveScenePresence() protected méthode

Remove a presence from the scene
protected RemoveScenePresence ( IEntity agent ) : void
agent IEntity
Résultat void

RequestObjectPropertiesFamily() protected méthode

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
protected RequestObjectPropertiesFamily ( IClientAPI remoteClient, UUID AgentID, uint RequestFlags, UUID ObjectID ) : void
remoteClient IClientAPI
AgentID UUID
RequestFlags uint
ObjectID UUID
Résultat void

RestorePrimToScene() public méthode

Add the Entity to the Scene and back it up, but do NOT reset its ID's
public RestorePrimToScene ( ISceneEntity entity, bool force ) : bool
entity ISceneEntity
force bool
Résultat bool

SceneGraph() protected méthode

protected SceneGraph ( IScene parent, RegionInfo regInfo ) : System
parent IScene
regInfo RegionInfo
Résultat System

SpinObject() protected méthode

Spin the given object
protected SpinObject ( UUID ObjectID, Quaternion rotation, IClientAPI remoteClient ) : void
ObjectID UUID
rotation Quaternion
remoteClient IClientAPI
Résultat void

SpinStart() protected méthode

Start spinning the given object
protected SpinStart ( UUID ObjectID, IClientAPI remoteClient ) : void
ObjectID UUID
remoteClient IClientAPI
Résultat void

SubscribeToClientEvents() public méthode

public SubscribeToClientEvents ( IClientAPI client ) : void
client IClientAPI
Résultat void

TaintPresenceForUpdate() public méthode

public TaintPresenceForUpdate ( IScenePresence presence, PresenceTaint taint ) : void
presence IScenePresence
taint PresenceTaint
Résultat void

TryGetAvatarByName() protected méthode

protected TryGetAvatarByName ( string name, IScenePresence &avatar ) : bool
name string
avatar IScenePresence
Résultat bool

TryGetEntity() public méthode

Try to get an EntityBase as given by its UUID
public TryGetEntity ( UUID ID, IEntity &entity ) : bool
ID UUID
entity IEntity
Résultat bool

TryGetEntity() public méthode

Try to get an EntityBase as given by it's LocalID
public TryGetEntity ( uint LocalID, IEntity &entity ) : bool
LocalID uint
entity IEntity
Résultat bool

TryGetPart() public méthode

Get a part (SceneObjectPart) from the EntityManager by UUID
public TryGetPart ( UUID ID, ISceneChildEntity &entity ) : bool
ID UUID
entity ISceneChildEntity
Résultat bool

TryGetPart() public méthode

Get a part (SceneObjectPart) from the EntityManager by LocalID
public TryGetPart ( uint LocalID, ISceneChildEntity &entity ) : bool
LocalID uint
entity ISceneChildEntity
Résultat bool

TryGetScenePresence() protected méthode

protected TryGetScenePresence ( UUID agentID, IScenePresence &avatar ) : bool
agentID UUID
avatar IScenePresence
Résultat bool

UnSubscribeToClientEvents() public méthode

public UnSubscribeToClientEvents ( IClientAPI client ) : void
client IClientAPI
Résultat void

UnregisterEntityCreatorCommander() public méthode

Unregister a module commander and all its commands
public UnregisterEntityCreatorCommander ( IEntityCreator entityCreator ) : void
entityCreator IEntityCreator
Résultat void

UpdateEntities() protected méthode

protected UpdateEntities ( ) : void
Résultat void

UpdateEntity() public méthode

THIS IS TO ONLY BE CALLED WHEN AN OBJECT UUID IS UPDATED!!! This method is HIGHLY unsafe and destroys the integrity of the checks above! This is NOT to be used lightly! Do NOT use this unless you have to!
public UpdateEntity ( ISceneEntity entity, UUID newID ) : void
entity ISceneEntity
newID UUID new UUID to set the root part to
Résultat void

UpdateExtraParam() protected méthode

protected UpdateExtraParam ( UUID agentID, uint LocalID, ushort type, bool inUse, byte data ) : void
agentID UUID
LocalID uint
type ushort
inUse bool
data byte
Résultat void

UpdatePhysics() protected méthode

protected UpdatePhysics ( float elapsed ) : void
elapsed float
Résultat void

UpdatePreparePhysics() protected méthode

protected UpdatePreparePhysics ( ) : void
Résultat void

UpdatePrimFlags() protected méthode

A user has changed an object setting
protected UpdatePrimFlags ( uint LocalID, bool UsePhysics, bool IsTemporary, bool IsPhantom, ObjectFlagUpdatePacket blocks, IClientAPI remoteClient ) : void
LocalID uint
UsePhysics bool
IsTemporary bool
IsPhantom bool
blocks ObjectFlagUpdatePacket
remoteClient IClientAPI
Résultat void

UpdatePrimGroupScale() protected méthode

protected UpdatePrimGroupScale ( uint LocalID, Vector3 scale, IClientAPI remoteClient ) : void
LocalID uint
scale Vector3
remoteClient IClientAPI
Résultat void

UpdatePrimPosition() protected méthode

Update the position of the given part
protected UpdatePrimPosition ( uint LocalID, Vector3 pos, IClientAPI remoteClient, bool SaveUpdate ) : void
LocalID uint
pos Vector3
remoteClient IClientAPI
SaveUpdate bool
Résultat void

UpdatePrimRotation() protected méthode

protected UpdatePrimRotation ( uint LocalID, Quaternion rot, IClientAPI remoteClient ) : void
LocalID uint
rot Quaternion
remoteClient IClientAPI
Résultat void

UpdatePrimRotation() protected méthode

protected UpdatePrimRotation ( uint LocalID, Vector3 pos, Quaternion rot, IClientAPI remoteClient ) : void
LocalID uint
pos Vector3
rot Quaternion
remoteClient IClientAPI
Résultat void

UpdatePrimScale() protected méthode

protected UpdatePrimScale ( uint LocalID, Vector3 scale, IClientAPI remoteClient ) : void
LocalID uint
scale Vector3
remoteClient IClientAPI
Résultat void

UpdatePrimShape() protected méthode

protected UpdatePrimShape ( UUID agentID, uint LocalID, UpdateShapeArgs shapeBlock ) : void
agentID UUID
LocalID uint
shapeBlock UpdateShapeArgs
Résultat void

UpdatePrimSinglePosition() protected méthode

Update the position of the given part
protected UpdatePrimSinglePosition ( uint LocalID, Vector3 pos, IClientAPI remoteClient, bool SaveUpdate ) : void
LocalID uint
pos Vector3
remoteClient IClientAPI
SaveUpdate bool
Résultat void

UpdatePrimSingleRotation() protected méthode

protected UpdatePrimSingleRotation ( uint LocalID, Quaternion rot, IClientAPI remoteClient ) : void
LocalID uint
rot Quaternion
remoteClient IClientAPI
Résultat void

UpdatePrimSingleRotationPosition() protected méthode

protected UpdatePrimSingleRotationPosition ( uint LocalID, Quaternion rot, Vector3 pos, IClientAPI remoteClient ) : void
LocalID uint
rot Quaternion
pos Vector3
remoteClient IClientAPI
Résultat void

UpdatePrimTexture() protected méthode

Update the texture entry of the given prim.
protected UpdatePrimTexture ( uint LocalID, byte texture, IClientAPI remoteClient ) : void
LocalID uint
texture byte
remoteClient IClientAPI
Résultat void

doObjectDuplicateOnRay() public méthode

Duplicates object specified by localID at position raycasted against RayTargetObject using RayEnd and RayStart to determine what the angle of the ray is
public doObjectDuplicateOnRay ( uint localID, uint dupeFlags, UUID AgentID, UUID GroupID, UUID RayTargetObj, Vector3 RayEnd, Vector3 RayStart, bool BypassRaycast, bool RayEndIsIntersection, bool CopyCenters, bool CopyRotates ) : void
localID uint ID of object to duplicate
dupeFlags uint
AgentID UUID Agent doing the duplication
GroupID UUID Group of new object
RayTargetObj UUID The target of the Ray
RayEnd Vector3 The ending of the ray (farthest away point)
RayStart Vector3 The Beginning of the ray (closest point)
BypassRaycast bool Bool to bypass raycasting
RayEndIsIntersection bool The End specified is the place to add the object
CopyCenters bool Position the object at the center of the face that it's colliding with
CopyRotates bool Rotate the object the same as the localID object
Résultat void

Property Details

EnableFakeRaycasting protected_oe property

protected bool EnableFakeRaycasting
Résultat bool

Entities protected_oe property

protected EntityManager,Universe.Framework.SceneInfo.Entities Entities
Résultat Universe.Framework.SceneInfo.Entities.EntityManager

_PhyScene protected_oe property

protected PhysicsScene _PhyScene
Résultat PhysicsScene

m_DefaultObjectName protected_oe property

protected string m_DefaultObjectName
Résultat string

m_entityCreators protected_oe property

protected Dictionary m_entityCreators
Résultat IEntityCreator>.Dictionary

m_lastAllocatedLocalId protected_oe property

The last allocated local prim id. When a new local id is requested, the next number in the sequence is dispensed.
protected uint m_lastAllocatedLocalId
Résultat uint

m_parentScene protected_oe property

protected IScene m_parentScene
Résultat IScene

m_regInfo protected_oe property

protected RegionInfo m_regInfo
Résultat RegionInfo

m_syncRoot protected_oe property

protected object m_syncRoot
Résultat object