C# Класс 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.
Наследование: ISceneGraph
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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)

Описание методов

AddNewPrim() публичный Метод

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
Результат ISceneEntity

AddNewPrim() публичный Метод

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
Результат void

AddPrimToScene() публичный Метод

Add the Entity to the Scene and back it up
public AddPrimToScene ( ISceneEntity entity ) : bool
entity ISceneEntity
Результат bool

AddScenePresence() защищенный Метод

Add a presence to the scene
protected AddScenePresence ( IScenePresence presence ) : void
presence IScenePresence
Результат void

AllocateLocalId() публичный Метод

Returns a new unallocated local ID
public AllocateLocalId ( ) : uint
Результат uint

CheckAllocationOfLocalIds() публичный Метод

Check all the localIDs in this group to make sure that they have not been used previously
public CheckAllocationOfLocalIds ( ISceneEntity group ) : void
group ISceneEntity
Результат void

Close() защищенный Метод

protected Close ( ) : void
Результат void

DeLinkPartFromEntity() публичный Метод

Delinks the object from the group in the EntityManager
public DeLinkPartFromEntity ( ISceneEntity entity, ISceneChildEntity part ) : bool
entity ISceneEntity
part ISceneChildEntity
Результат bool

DeleteEntity() публичный Метод

Destroy the entity and remove it from the scene
public DeleteEntity ( IEntity entity ) : bool
entity IEntity
Результат bool

DelinkObjects() защищенный Метод

Delink a linkset
protected DelinkObjects ( List prims ) : void
prims List
Результат void

DelinkObjects() публичный Метод

public DelinkObjects ( List primIds, IClientAPI client ) : void
primIds List
client IClientAPI
Результат void

DelinkPartToScene() публичный Метод

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
Результат void

DuplicateEntity() публичный Метод

Duplicate the entity and add it to the Scene
public DuplicateEntity ( ISceneEntity entity ) : ISceneEntity
entity ISceneEntity
Результат ISceneEntity

DuplicateObject() публичный Метод

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
Результат bool

ForEachSceneEntity() защищенный Метод

Performs action on all scene object groups.
protected ForEachSceneEntity ( Action action ) : void
action Action
Результат void

ForEachScenePresence() публичный Метод

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
Результат void

GetClosestIntersectingPrim() защищенный Метод

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
Результат Universe.Framework.SceneInfo.Entities.EntityIntersection

GetCoarseLocations() публичный Метод

public GetCoarseLocations ( List &coarseLocations, List &avatarUUIDs, uint maxLocations ) : bool
coarseLocations List
avatarUUIDs List
maxLocations uint
Результат bool

GetIntersectingPrims() публичный Метод

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
Результат List

GetNewRezLocation() публичный Метод

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
Результат System.Vector3

GetScenePresence() защищенный Метод

Request a scene presence by UUID. Fast, indexed lookup.
protected GetScenePresence ( UUID agentID ) : IScenePresence
agentID UUID
Результат IScenePresence

GetScenePresence() публичный Метод

Request the scene presence by name.
public GetScenePresence ( string name ) : IScenePresence
name string
Результат IScenePresence

GetScenePresence() публичный Метод

Request the scene presence by localID.
public GetScenePresence ( uint localID ) : IScenePresence
localID uint
Результат IScenePresence

GetScenePresences() публичный Метод

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
Результат List

HandleObjectGroupUpdate() защищенный Метод

protected HandleObjectGroupUpdate ( IClientAPI remoteClient, UUID GroupID, uint LocalID, UUID Garbage ) : void
remoteClient IClientAPI
GroupID UUID
LocalID uint
Garbage UUID
Результат void

HandleObjectPermissionsUpdate() публичный Метод

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
Результат void

HandleRedo() защищенный Метод

protected HandleRedo ( IClientAPI remoteClient, UUID primId ) : void
remoteClient IClientAPI
primId UUID
Результат void

HandleUndo() защищенный Метод

protected HandleUndo ( IClientAPI remoteClient, UUID primId ) : void
remoteClient IClientAPI
primId UUID
Результат void

LinkObjects() публичный Метод

public LinkObjects ( IClientAPI client, uint parentPrimId, List childPrimIds ) : void
client IClientAPI
parentPrimId uint
childPrimIds List
Результат void

LinkObjects() защищенный Метод

Initial method invoked when we receive a link objects request from the client.
protected LinkObjects ( ISceneChildEntity root, List children ) : void
root ISceneChildEntity
children List
Результат void

LinkPartToEntity() публичный Метод

Add the new part to the group in the EntityManager
public LinkPartToEntity ( ISceneEntity entity, ISceneChildEntity part ) : bool
entity ISceneEntity
part ISceneChildEntity
Результат bool

LinkPartToSOG() публичный Метод

public LinkPartToSOG ( ISceneEntity grp, ISceneChildEntity part, int linkNum ) : bool
grp ISceneEntity
part ISceneChildEntity
linkNum int
Результат bool

LinkSetSorter() публичный Метод

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
Результат int

MakeObjectSearchable() защищенный Метод

Make this object be added to search
protected MakeObjectSearchable ( IClientAPI remoteClient, bool IncludeInSearch, uint LocalID ) : void
remoteClient IClientAPI
IncludeInSearch bool
LocalID uint
Результат void

MoveObject() защищенный Метод

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
Результат void

ObjectOwner() защищенный Метод

protected ObjectOwner ( IClientAPI remoteClient, UUID ownerID, UUID groupID, List localIDs ) : void
remoteClient IClientAPI
ownerID UUID
groupID UUID
localIDs List
Результат void

PrepPrimForAdditionToScene() публичный Метод

Get this prim ready to add to the scene
public PrepPrimForAdditionToScene ( ISceneEntity entity ) : void
entity ISceneEntity
Результат void

PrimClickAction() защищенный Метод

protected PrimClickAction ( IClientAPI remoteClient, uint LocalID, string clickAction ) : void
remoteClient IClientAPI
LocalID uint
clickAction string
Результат void

PrimDescription() защищенный Метод

protected PrimDescription ( IClientAPI remoteClient, uint LocalID, string description ) : void
remoteClient IClientAPI
LocalID uint
description string
Результат void

PrimMaterial() защищенный Метод

protected PrimMaterial ( IClientAPI remoteClient, uint LocalID, string material ) : void
remoteClient IClientAPI
LocalID uint
material string
Результат void

PrimName() защищенный Метод

protected PrimName ( IClientAPI remoteClient, uint LocalID, string name ) : void
remoteClient IClientAPI
LocalID uint
name string
Результат void

ProcessObjectDeGrab() публичный Метод

public ProcessObjectDeGrab ( uint localID, IClientAPI remoteClient, List surfaceArgs ) : void
localID uint
remoteClient IClientAPI
surfaceArgs List
Результат void

ProcessObjectGrab() публичный Метод

public ProcessObjectGrab ( uint localID, Vector3 offsetPos, IClientAPI remoteClient, List surfaceArgs ) : void
localID uint
offsetPos Vector3
remoteClient IClientAPI
surfaceArgs List
Результат void

ProcessObjectGrabUpdate() публичный Метод

public ProcessObjectGrabUpdate ( UUID objectID, Vector3 offset, Vector3 pos, IClientAPI remoteClient, List surfaceArgs ) : void
objectID UUID
offset Vector3
pos Vector3
remoteClient IClientAPI
surfaceArgs List
Результат void

RegisterEntityCreatorModule() публичный Метод

public RegisterEntityCreatorModule ( IEntityCreator entityCreator ) : void
entityCreator IEntityCreator
Результат void

RemoveScenePresence() защищенный Метод

Remove a presence from the scene
protected RemoveScenePresence ( IEntity agent ) : void
agent IEntity
Результат void

RequestObjectPropertiesFamily() защищенный Метод

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
Результат void

RestorePrimToScene() публичный Метод

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
Результат bool

SceneGraph() защищенный Метод

protected SceneGraph ( IScene parent, RegionInfo regInfo ) : System
parent IScene
regInfo RegionInfo
Результат System

SpinObject() защищенный Метод

Spin the given object
protected SpinObject ( UUID ObjectID, Quaternion rotation, IClientAPI remoteClient ) : void
ObjectID UUID
rotation Quaternion
remoteClient IClientAPI
Результат void

SpinStart() защищенный Метод

Start spinning the given object
protected SpinStart ( UUID ObjectID, IClientAPI remoteClient ) : void
ObjectID UUID
remoteClient IClientAPI
Результат void

SubscribeToClientEvents() публичный Метод

public SubscribeToClientEvents ( IClientAPI client ) : void
client IClientAPI
Результат void

TaintPresenceForUpdate() публичный Метод

public TaintPresenceForUpdate ( IScenePresence presence, PresenceTaint taint ) : void
presence IScenePresence
taint PresenceTaint
Результат void

TryGetAvatarByName() защищенный Метод

protected TryGetAvatarByName ( string name, IScenePresence &avatar ) : bool
name string
avatar IScenePresence
Результат bool

TryGetEntity() публичный Метод

Try to get an EntityBase as given by its UUID
public TryGetEntity ( UUID ID, IEntity &entity ) : bool
ID UUID
entity IEntity
Результат bool

TryGetEntity() публичный Метод

Try to get an EntityBase as given by it's LocalID
public TryGetEntity ( uint LocalID, IEntity &entity ) : bool
LocalID uint
entity IEntity
Результат bool

TryGetPart() публичный Метод

Get a part (SceneObjectPart) from the EntityManager by UUID
public TryGetPart ( UUID ID, ISceneChildEntity &entity ) : bool
ID UUID
entity ISceneChildEntity
Результат bool

TryGetPart() публичный Метод

Get a part (SceneObjectPart) from the EntityManager by LocalID
public TryGetPart ( uint LocalID, ISceneChildEntity &entity ) : bool
LocalID uint
entity ISceneChildEntity
Результат bool

TryGetScenePresence() защищенный Метод

protected TryGetScenePresence ( UUID agentID, IScenePresence &avatar ) : bool
agentID UUID
avatar IScenePresence
Результат bool

UnSubscribeToClientEvents() публичный Метод

public UnSubscribeToClientEvents ( IClientAPI client ) : void
client IClientAPI
Результат void

UnregisterEntityCreatorCommander() публичный Метод

Unregister a module commander and all its commands
public UnregisterEntityCreatorCommander ( IEntityCreator entityCreator ) : void
entityCreator IEntityCreator
Результат void

UpdateEntities() защищенный Метод

protected UpdateEntities ( ) : void
Результат void

UpdateEntity() публичный Метод

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
Результат void

UpdateExtraParam() защищенный Метод

protected UpdateExtraParam ( UUID agentID, uint LocalID, ushort type, bool inUse, byte data ) : void
agentID UUID
LocalID uint
type ushort
inUse bool
data byte
Результат void

UpdatePhysics() защищенный Метод

protected UpdatePhysics ( float elapsed ) : void
elapsed float
Результат void

UpdatePreparePhysics() защищенный Метод

protected UpdatePreparePhysics ( ) : void
Результат void

UpdatePrimFlags() защищенный Метод

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
Результат void

UpdatePrimGroupScale() защищенный Метод

protected UpdatePrimGroupScale ( uint LocalID, Vector3 scale, IClientAPI remoteClient ) : void
LocalID uint
scale Vector3
remoteClient IClientAPI
Результат void

UpdatePrimPosition() защищенный Метод

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
Результат void

UpdatePrimRotation() защищенный Метод

protected UpdatePrimRotation ( uint LocalID, Quaternion rot, IClientAPI remoteClient ) : void
LocalID uint
rot Quaternion
remoteClient IClientAPI
Результат void

UpdatePrimRotation() защищенный Метод

protected UpdatePrimRotation ( uint LocalID, Vector3 pos, Quaternion rot, IClientAPI remoteClient ) : void
LocalID uint
pos Vector3
rot Quaternion
remoteClient IClientAPI
Результат void

UpdatePrimScale() защищенный Метод

protected UpdatePrimScale ( uint LocalID, Vector3 scale, IClientAPI remoteClient ) : void
LocalID uint
scale Vector3
remoteClient IClientAPI
Результат void

UpdatePrimShape() защищенный Метод

protected UpdatePrimShape ( UUID agentID, uint LocalID, UpdateShapeArgs shapeBlock ) : void
agentID UUID
LocalID uint
shapeBlock UpdateShapeArgs
Результат void

UpdatePrimSinglePosition() защищенный Метод

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
Результат void

UpdatePrimSingleRotation() защищенный Метод

protected UpdatePrimSingleRotation ( uint LocalID, Quaternion rot, IClientAPI remoteClient ) : void
LocalID uint
rot Quaternion
remoteClient IClientAPI
Результат void

UpdatePrimSingleRotationPosition() защищенный Метод

protected UpdatePrimSingleRotationPosition ( uint LocalID, Quaternion rot, Vector3 pos, IClientAPI remoteClient ) : void
LocalID uint
rot Quaternion
pos Vector3
remoteClient IClientAPI
Результат void

UpdatePrimTexture() защищенный Метод

Update the texture entry of the given prim.
protected UpdatePrimTexture ( uint LocalID, byte texture, IClientAPI remoteClient ) : void
LocalID uint
texture byte
remoteClient IClientAPI
Результат void

doObjectDuplicateOnRay() публичный Метод

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
Результат void

Описание свойств

EnableFakeRaycasting защищенное свойство

protected bool EnableFakeRaycasting
Результат bool

Entities защищенное свойство

protected EntityManager,Universe.Framework.SceneInfo.Entities Entities
Результат Universe.Framework.SceneInfo.Entities.EntityManager

_PhyScene защищенное свойство

protected PhysicsScene _PhyScene
Результат PhysicsScene

m_DefaultObjectName защищенное свойство

protected string m_DefaultObjectName
Результат string

m_entityCreators защищенное свойство

protected Dictionary m_entityCreators
Результат IEntityCreator>.Dictionary

m_lastAllocatedLocalId защищенное свойство

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
Результат uint

m_parentScene защищенное свойство

protected IScene m_parentScene
Результат IScene

m_regInfo защищенное свойство

protected RegionInfo m_regInfo
Результат RegionInfo

m_syncRoot защищенное свойство

protected object m_syncRoot
Результат object