C# Class OpenSim.Region.Framework.Scenes.SceneObjectPart

Inheritance: ISceneChildEntity
Afficher le fichier Open project: N3X15/VoxelSim Class Usage Examples

Méthodes publiques

Свойство Type Description
AggregateScriptEvents scriptEvents
AllowedDrop bool
AttachedAvatar UUID
AttachedPos System.Vector3
AttachmentPoint uint
BlockGrab bool
DIE_AT_EDGE bool
FromFolderID UUID
FromItemID UUID
IgnoreUndoUpdate bool
IsAttachment bool
IsWaitingForFirstSpinUpdatePacket bool
PayPrice int[]
RETURN_AT_EDGE bool
RotationAxis Vector3
STATUS_ROTATE_X int
STATUS_ROTATE_Y int
STATUS_ROTATE_Z int
Sound UUID
SoundFlags byte
SoundGain double
SoundRadius double
SpinOldOrientation Quaternion
StatusSandbox bool
StatusSandboxPos Vector3
TimeStampFull uint
TimeStampLastActivity uint
TimeStampTerse uint
Undoing bool
VolumeDetectActive bool
m_APIDDamp float
m_APIDStrength float
m_APIDTarget Quaternion

Protected Properties

Свойство Type Description
m_acceleration Vector3
m_angularVelocity Vector3
m_groupPosition Vector3
m_inventory SceneObjectPartInventory
m_lastAcceleration Vector3
m_lastAngularVelocity Vector3
m_lastPosition Vector3
m_lastRotation Quaternion
m_lastTerseSent int
m_lastVelocity Vector3
m_localId uint
m_material Material
m_mediaUrl string
m_name string
m_offsetPosition Vector3
m_parentGroup SceneObjectGroup
m_particleSystem byte[]
m_regionHandle ulong
m_rotationOffset Quaternion
m_shape PrimitiveBaseShape
m_uuid UUID
m_velocity Vector3

Private Properties

Свойство Type Description
ApplyMask uint
ClearUpdateSchedule void
SendObjectPropertiesToClient void

Méthodes publiques

Méthode Description
AddFlag ( PrimFlags flag ) : void
AddFullUpdateToAllAvatars ( ) : void

Tell all scene presences that they should send updates for this part to their clients

AddFullUpdateToAvatar ( ScenePresence presence ) : void

Tell the scene presence that it should send updates for this part to its client

AddNewParticleSystem ( Primitive pSystem ) : void
AddScriptLPS ( int count ) : void
AddTerseUpdateToAllAvatars ( ) : void
AddTerseUpdateToAvatar ( ScenePresence presence ) : void
AddTextureAnimation ( Primitive pTexAnim ) : void
AdjustSoundGain ( double volume ) : void
ApplyAngularImpulse ( System.Vector3 impulsei, bool localGlobalTF ) : void

hook to the physics scene to apply angular impulse This is sent up to the group, which then finds the root prim and applies the force on the root prim of the group

ApplyImpulse ( System.Vector3 impulsei, bool localGlobalTF ) : void

hook to the physics scene to apply impulse This is sent up to the group, which then finds the root prim and applies the force on the root prim of the group

ApplyNextOwnerPermissions ( ) : void
ApplyPhysics ( uint rootObjectFlags, bool VolumeDetectActive, bool m_physicalPrim ) : void

Apply physics to this part.

ClearUndoState ( ) : void
ConvertScriptUintToByte ( uint indata ) : byte
Copy ( uint localID, UUID AgentID, UUID GroupID, int linkNum, bool userExposed ) : SceneObjectPart

Duplicates this part.

Create ( ) : SceneObjectPart
DoPhysicsPropertyUpdate ( bool UsePhysics, bool isNew ) : void
FromXml ( UUID fromUserInventoryItemId, XmlTextReader xmlReader ) : SceneObjectPart

Restore this part from the serialized xml representation.

FromXml ( XmlTextReader xmlReader ) : SceneObjectPart

Restore this part from the serialized xml representation.

GetAvatarOnSitTarget ( ) : UUID
GetAxisRotation ( int axis ) : int
GetBlockGrab ( ) : bool
GetCameraAtOffset ( ) : System.Vector3
GetCameraEyeOffset ( ) : System.Vector3
GetDieAtEdge ( ) : bool
GetDistanceTo ( System.Vector3 a, System.Vector3 b ) : double
GetEffectiveObjectFlags ( ) : uint
GetForce ( ) : System.Vector3
GetForceMouselook ( ) : bool
GetGeometricCenter ( ) : System.Vector3
GetMass ( ) : float
GetNumberOfSides ( ) : int

Get the number of sides that this part has.

GetPrimType ( ) : PrimType

Tell us what type this prim is

GetProperties ( IClientAPI client ) : void
GetReturnAtEdge ( ) : bool
GetRootPartUUID ( ) : UUID
GetStatusSandbox ( ) : bool
GetTextColor ( ) : Color4
GetTorque ( ) : System.Vector3
GetWorldPosition ( ) : System.Vector3

Method for a prim to get it's world position from the group. Remember, the Group Position simply gives the position of the group itself

GetWorldRotation ( ) : Quaternion

Gets the rotation of this prim offset by the group rotation

IsBallJoint ( ) : bool
IsHingeJoint ( ) : bool
IsJoint ( ) : bool
MoveToTarget ( System.Vector3 target, float tau ) : void
OnGrab ( System.Vector3 offsetPos, IClientAPI remoteClient ) : void
PhysicsCollision ( EventArgs e ) : void
PhysicsOutOfBounds ( Vector3 pos ) : void
PhysicsRequestingTerseUpdate ( ) : void
PreloadSound ( string sound ) : void
Redo ( ) : void
RemFlag ( PrimFlags flag ) : void
RemoveParticleSystem ( ) : void
RemoveScriptEvents ( UUID scriptid ) : void
ResetExpire ( ) : void
ResetIDs ( int linkNum ) : void

Reset UUIDs for this part. This involves generate this part's own UUID and generating new UUIDs for all the items in the inventory.

Resize ( Vector3 scale ) : void

Resize this part.

RotLookAt ( Quaternion target, float strength, float damping ) : void
SceneObjectPart ( ) : System

No arg constructor called by region restore db code

SceneObjectPart ( UUID ownerID, PrimitiveBaseShape shape, Vector3 groupPosition, Quaternion rotationOffset, Vector3 offsetPosition ) : System

Create a completely new SceneObjectPart (prim). This will need to be added separately to a SceneObjectGroup

ScheduleFullUpdate ( ) : void

Schedules this prim for a full update

ScheduleTerseUpdate ( ) : void

Schedule a terse update for this prim. Terse updates only send position, rotation, velocity, rotational velocity and shape information.

ScriptSetPhantomStatus ( bool Phantom ) : void
ScriptSetPhysicsStatus ( bool UsePhysics ) : void
ScriptSetTemporaryStatus ( bool Temporary ) : void
ScriptSetVolumeDetect ( bool SetVD ) : void
SculptTextureCallback ( UUID textureID, AssetBase texture ) : void
SendFullUpdateToAllClients ( ) : void

Send a full update for this part to all clients.

SendFullUpdateToAllClientsExcept ( UUID agentID ) : void

Send a full update to all clients except the one nominated.

SendFullUpdateToClient ( IClientAPI remoteClient, Vector3 lPos, uint clientFlags ) : void

Sends a full update to the client

SendFullUpdateToClient ( IClientAPI remoteClient, uint clientflags ) : void

Sends a full update to the client

SendScheduledUpdates ( ) : void

Tell all the prims which have had updates scheduled

SendSound ( string sound, double volume, bool triggered, byte flags, float radius, bool useMaster, bool isMaster ) : void

Trigger or play an attached sound in this part's inventory.

SendTerseUpdateToAllClients ( ) : void

Send a terse update to all clients

SendTerseUpdateToClient ( IClientAPI remoteClient ) : void
SetAngularImpulse ( Vector3 impulsei, bool localGlobalTF ) : void

hook to the physics scene to apply angular impulse This is sent up to the group, which then finds the root prim and applies the force on the root prim of the group

SetAttachmentPoint ( uint AttachmentPoint ) : void
SetAvatarOnSitTarget ( UUID avatarID ) : void
SetAxisRotation ( int axis, int rotate ) : void
SetBlockGrab ( bool p ) : void
SetBuoyancy ( float fvalue ) : void
SetCameraAtOffset ( Vector3 v ) : void
SetCameraEyeOffset ( Vector3 v ) : void
SetDieAtEdge ( bool p ) : void
SetFaceColor ( Vector3 color, int face ) : void

Set the color of prim faces

SetFloatOnWater ( int floatYN ) : void
SetForce ( Vector3 force ) : void
SetForceMouselook ( bool force ) : void
SetGroup ( UUID groupID, IClientAPI client ) : void
SetHoverHeight ( float height, PIDHoverType hoverType, float tau ) : void

Uses a PID to attempt to clamp the object on the Z axis at the given height over tau seconds.

SetParent ( SceneObjectGroup parent ) : void

SetParentLocalId ( uint localID ) : void
SetPhysicsAxisRotation ( ) : void
SetReturnAtEdge ( bool p ) : void
SetScriptEvents ( UUID scriptid, int events ) : void

Set the events that this part will pass on to listeners.

SetStatusSandbox ( bool p ) : void
SetText ( string text ) : void

Set the text displayed for this part.

SetText ( string text, Vector3 color, double alpha ) : void

Set the text displayed for this part.

SetVehicleFlags ( int param, bool remove ) : void
SetVehicleFloatParam ( int param, float value ) : void
SetVehicleRotationParam ( int param, Quaternion rotation ) : void
SetVehicleType ( int type ) : void
SetVehicleVectorParam ( int param, Vector3 value ) : void
StopHover ( ) : void
StopLookAt ( ) : void
StopMoveToTarget ( ) : void
StoreUndoState ( ) : void
TestIntersection ( Ray iray, Quaternion parentrot ) : EntityIntersection
TestIntersectionOBB ( Ray iray, Quaternion parentrot, bool frontFacesOnly, bool faceCenters ) : EntityIntersection
ToString ( ) : string
ToXml ( XmlTextWriter xmlWriter ) : void

Serialize this part to xml.

TriggerScriptChangedEvent ( Changed val ) : void
TrimPermissions ( ) : void
Undo ( ) : void
UpdateExtraParam ( ushort type, bool inUse, byte data ) : void
UpdateGroupPosition ( Vector3 pos ) : void
UpdateLookAt ( ) : void
UpdateMovement ( ) : void
UpdateOffSet ( Vector3 pos ) : void

UpdatePermissions ( UUID AgentID, byte field, uint localID, uint mask, byte addRemTF ) : void
UpdatePrimFlags ( bool UsePhysics, bool IsTemporary, bool IsPhantom, bool IsVD ) : void
UpdateRotation ( Quaternion rot ) : void
UpdateShape ( ObjectShapePacket shapeBlock ) : void

Update the shape of this part.

UpdateTexture ( Primitive tex ) : void

Update the textures on the part.

UpdateTextureEntry ( byte textureEntry ) : void

Update the texture entry for this part.

aggregateScriptEvents ( ) : void
registerRotTargetWaypoint ( Quaternion target, float tolerance ) : int
registerTargetWaypoint ( Vector3 target, float tolerance ) : int
rotLookAt ( Quaternion target, float strength, float damping ) : void
startLookAt ( Quaternion rot, float damp, float strength ) : void
stopLookAt ( ) : void
unregisterRotTargetWaypoint ( int handle ) : void
unregisterTargetWaypoint ( int handle ) : void

Méthodes protégées

Méthode Description
AssetReceived ( string id, Object sender, AssetBase asset ) : void
HasCutHollowDimpleProfileCut ( PrimType primType, OpenSim.Framework.PrimitiveBaseShape shape, bool &hasCut, bool &hasHollow, bool &hasDimple, bool &hasProfileCut ) : void

Tell us if this object has cut, hollow, dimple, and other factors affecting the number of faces

SendFullUpdate ( IClientAPI remoteClient, uint clientFlags ) : void

Send a full update to the client for the given part

Private Methods

Méthode Description
ApplyMask ( uint val, bool set, uint mask ) : uint
ClearUpdateSchedule ( ) : void

Clear all pending updates of parts to clients

SendObjectPropertiesToClient ( UUID AgentID ) : void

Method Details

AddFlag() public méthode

public AddFlag ( PrimFlags flag ) : void
flag PrimFlags
Résultat void

AddFullUpdateToAllAvatars() public méthode

Tell all scene presences that they should send updates for this part to their clients
public AddFullUpdateToAllAvatars ( ) : void
Résultat void

AddFullUpdateToAvatar() public méthode

Tell the scene presence that it should send updates for this part to its client
public AddFullUpdateToAvatar ( ScenePresence presence ) : void
presence ScenePresence
Résultat void

AddNewParticleSystem() public méthode

public AddNewParticleSystem ( Primitive pSystem ) : void
pSystem OpenMetaverse.Primitive
Résultat void

AddScriptLPS() public méthode

public AddScriptLPS ( int count ) : void
count int
Résultat void

AddTerseUpdateToAllAvatars() public méthode

public AddTerseUpdateToAllAvatars ( ) : void
Résultat void

AddTerseUpdateToAvatar() public méthode

public AddTerseUpdateToAvatar ( ScenePresence presence ) : void
presence ScenePresence
Résultat void

AddTextureAnimation() public méthode

public AddTextureAnimation ( Primitive pTexAnim ) : void
pTexAnim OpenMetaverse.Primitive
Résultat void

AdjustSoundGain() public méthode

public AdjustSoundGain ( double volume ) : void
volume double
Résultat void

ApplyAngularImpulse() public méthode

hook to the physics scene to apply angular impulse This is sent up to the group, which then finds the root prim and applies the force on the root prim of the group
public ApplyAngularImpulse ( System.Vector3 impulsei, bool localGlobalTF ) : void
impulsei System.Vector3 Vector force
localGlobalTF bool true for the local frame, false for the global frame
Résultat void

ApplyImpulse() public méthode

hook to the physics scene to apply impulse This is sent up to the group, which then finds the root prim and applies the force on the root prim of the group
public ApplyImpulse ( System.Vector3 impulsei, bool localGlobalTF ) : void
impulsei System.Vector3 Vector force
localGlobalTF bool true for the local frame, false for the global frame
Résultat void

ApplyNextOwnerPermissions() public méthode

public ApplyNextOwnerPermissions ( ) : void
Résultat void

ApplyPhysics() public méthode

Apply physics to this part.
public ApplyPhysics ( uint rootObjectFlags, bool VolumeDetectActive, bool m_physicalPrim ) : void
rootObjectFlags uint
VolumeDetectActive bool
m_physicalPrim bool
Résultat void

AssetReceived() protected méthode

protected AssetReceived ( string id, Object sender, AssetBase asset ) : void
id string
sender Object
asset AssetBase
Résultat void

ClearUndoState() public méthode

public ClearUndoState ( ) : void
Résultat void

ConvertScriptUintToByte() public méthode

public ConvertScriptUintToByte ( uint indata ) : byte
indata uint
Résultat byte

Copy() public méthode

Duplicates this part.
public Copy ( uint localID, UUID AgentID, UUID GroupID, int linkNum, bool userExposed ) : SceneObjectPart
localID uint
AgentID UUID
GroupID UUID
linkNum int
userExposed bool True if the duplicate will immediately be in the scene, false otherwise
Résultat SceneObjectPart

Create() public static méthode

public static Create ( ) : SceneObjectPart
Résultat SceneObjectPart

DoPhysicsPropertyUpdate() public méthode

public DoPhysicsPropertyUpdate ( bool UsePhysics, bool isNew ) : void
UsePhysics bool
isNew bool
Résultat void

FromXml() public static méthode

Restore this part from the serialized xml representation.
public static FromXml ( UUID fromUserInventoryItemId, XmlTextReader xmlReader ) : SceneObjectPart
fromUserInventoryItemId UUID The inventory id from which this part came, if applicable
xmlReader System.Xml.XmlTextReader
Résultat SceneObjectPart

FromXml() public static méthode

Restore this part from the serialized xml representation.
public static FromXml ( XmlTextReader xmlReader ) : SceneObjectPart
xmlReader System.Xml.XmlTextReader
Résultat SceneObjectPart

GetAvatarOnSitTarget() public méthode

public GetAvatarOnSitTarget ( ) : UUID
Résultat UUID

GetAxisRotation() public méthode

public GetAxisRotation ( int axis ) : int
axis int
Résultat int

GetBlockGrab() public méthode

public GetBlockGrab ( ) : bool
Résultat bool

GetCameraAtOffset() public méthode

public GetCameraAtOffset ( ) : System.Vector3
Résultat System.Vector3

GetCameraEyeOffset() public méthode

public GetCameraEyeOffset ( ) : System.Vector3
Résultat System.Vector3

GetDieAtEdge() public méthode

public GetDieAtEdge ( ) : bool
Résultat bool

GetDistanceTo() public méthode

public GetDistanceTo ( System.Vector3 a, System.Vector3 b ) : double
a System.Vector3
b System.Vector3
Résultat double

GetEffectiveObjectFlags() public méthode

public GetEffectiveObjectFlags ( ) : uint
Résultat uint

GetForce() public méthode

public GetForce ( ) : System.Vector3
Résultat System.Vector3

GetForceMouselook() public méthode

public GetForceMouselook ( ) : bool
Résultat bool

GetGeometricCenter() public méthode

public GetGeometricCenter ( ) : System.Vector3
Résultat System.Vector3

GetMass() public méthode

public GetMass ( ) : float
Résultat float

GetNumberOfSides() public méthode

Get the number of sides that this part has.
public GetNumberOfSides ( ) : int
Résultat int

GetPrimType() public méthode

Tell us what type this prim is
public GetPrimType ( ) : PrimType
Résultat PrimType

GetProperties() public méthode

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

GetReturnAtEdge() public méthode

public GetReturnAtEdge ( ) : bool
Résultat bool

GetRootPartUUID() public méthode

public GetRootPartUUID ( ) : UUID
Résultat UUID

GetStatusSandbox() public méthode

public GetStatusSandbox ( ) : bool
Résultat bool

GetTextColor() public méthode

public GetTextColor ( ) : Color4
Résultat Color4

GetTorque() public méthode

public GetTorque ( ) : System.Vector3
Résultat System.Vector3

GetWorldPosition() public méthode

Method for a prim to get it's world position from the group. Remember, the Group Position simply gives the position of the group itself
public GetWorldPosition ( ) : System.Vector3
Résultat System.Vector3

GetWorldRotation() public méthode

Gets the rotation of this prim offset by the group rotation
public GetWorldRotation ( ) : Quaternion
Résultat Quaternion

HasCutHollowDimpleProfileCut() protected static méthode

Tell us if this object has cut, hollow, dimple, and other factors affecting the number of faces
protected static HasCutHollowDimpleProfileCut ( PrimType primType, OpenSim.Framework.PrimitiveBaseShape shape, bool &hasCut, bool &hasHollow, bool &hasDimple, bool &hasProfileCut ) : void
primType PrimType
shape OpenSim.Framework.PrimitiveBaseShape
hasCut bool
hasHollow bool
hasDimple bool
hasProfileCut bool
Résultat void

IsBallJoint() public méthode

public IsBallJoint ( ) : bool
Résultat bool

IsHingeJoint() public méthode

public IsHingeJoint ( ) : bool
Résultat bool

IsJoint() public méthode

public IsJoint ( ) : bool
Résultat bool

MoveToTarget() public méthode

public MoveToTarget ( System.Vector3 target, float tau ) : void
target System.Vector3
tau float
Résultat void

OnGrab() public méthode

public OnGrab ( System.Vector3 offsetPos, IClientAPI remoteClient ) : void
offsetPos System.Vector3
remoteClient IClientAPI
Résultat void

PhysicsCollision() public méthode

public PhysicsCollision ( EventArgs e ) : void
e EventArgs
Résultat void

PhysicsOutOfBounds() public méthode

public PhysicsOutOfBounds ( Vector3 pos ) : void
pos Vector3
Résultat void

PhysicsRequestingTerseUpdate() public méthode

public PhysicsRequestingTerseUpdate ( ) : void
Résultat void

PreloadSound() public méthode

public PreloadSound ( string sound ) : void
sound string
Résultat void

Redo() public méthode

public Redo ( ) : void
Résultat void

RemFlag() public méthode

public RemFlag ( PrimFlags flag ) : void
flag PrimFlags
Résultat void

RemoveParticleSystem() public méthode

public RemoveParticleSystem ( ) : void
Résultat void

RemoveScriptEvents() public méthode

public RemoveScriptEvents ( UUID scriptid ) : void
scriptid UUID
Résultat void

ResetExpire() public méthode

public ResetExpire ( ) : void
Résultat void

ResetIDs() public méthode

Reset UUIDs for this part. This involves generate this part's own UUID and generating new UUIDs for all the items in the inventory.
public ResetIDs ( int linkNum ) : void
linkNum int Link number for the part
Résultat void

Resize() public méthode

Resize this part.
public Resize ( Vector3 scale ) : void
scale Vector3
Résultat void

RotLookAt() public méthode

public RotLookAt ( Quaternion target, float strength, float damping ) : void
target Quaternion
strength float
damping float
Résultat void

SceneObjectPart() public méthode

No arg constructor called by region restore db code
public SceneObjectPart ( ) : System
Résultat System

SceneObjectPart() public méthode

Create a completely new SceneObjectPart (prim). This will need to be added separately to a SceneObjectGroup
public SceneObjectPart ( UUID ownerID, PrimitiveBaseShape shape, Vector3 groupPosition, Quaternion rotationOffset, Vector3 offsetPosition ) : System
ownerID UUID
shape PrimitiveBaseShape
groupPosition Vector3
rotationOffset Quaternion
offsetPosition Vector3
Résultat System

ScheduleFullUpdate() public méthode

Schedules this prim for a full update
public ScheduleFullUpdate ( ) : void
Résultat void

ScheduleTerseUpdate() public méthode

Schedule a terse update for this prim. Terse updates only send position, rotation, velocity, rotational velocity and shape information.
public ScheduleTerseUpdate ( ) : void
Résultat void

ScriptSetPhantomStatus() public méthode

public ScriptSetPhantomStatus ( bool Phantom ) : void
Phantom bool
Résultat void

ScriptSetPhysicsStatus() public méthode

public ScriptSetPhysicsStatus ( bool UsePhysics ) : void
UsePhysics bool
Résultat void

ScriptSetTemporaryStatus() public méthode

public ScriptSetTemporaryStatus ( bool Temporary ) : void
Temporary bool
Résultat void

ScriptSetVolumeDetect() public méthode

public ScriptSetVolumeDetect ( bool SetVD ) : void
SetVD bool
Résultat void

SculptTextureCallback() public méthode

public SculptTextureCallback ( UUID textureID, AssetBase texture ) : void
textureID UUID
texture AssetBase
Résultat void

SendFullUpdate() protected méthode

Send a full update to the client for the given part
protected SendFullUpdate ( IClientAPI remoteClient, uint clientFlags ) : void
remoteClient IClientAPI
clientFlags uint
Résultat void

SendFullUpdateToAllClients() public méthode

Send a full update for this part to all clients.
public SendFullUpdateToAllClients ( ) : void
Résultat void

SendFullUpdateToAllClientsExcept() public méthode

Send a full update to all clients except the one nominated.
public SendFullUpdateToAllClientsExcept ( UUID agentID ) : void
agentID UUID
Résultat void

SendFullUpdateToClient() public méthode

Sends a full update to the client
public SendFullUpdateToClient ( IClientAPI remoteClient, Vector3 lPos, uint clientFlags ) : void
remoteClient IClientAPI
lPos Vector3
clientFlags uint
Résultat void

SendFullUpdateToClient() public méthode

Sends a full update to the client
public SendFullUpdateToClient ( IClientAPI remoteClient, uint clientflags ) : void
remoteClient IClientAPI
clientflags uint
Résultat void

SendScheduledUpdates() public méthode

Tell all the prims which have had updates scheduled
public SendScheduledUpdates ( ) : void
Résultat void

SendSound() public méthode

Trigger or play an attached sound in this part's inventory.
public SendSound ( string sound, double volume, bool triggered, byte flags, float radius, bool useMaster, bool isMaster ) : void
sound string
volume double
triggered bool
flags byte
radius float
useMaster bool
isMaster bool
Résultat void

SendTerseUpdateToAllClients() public méthode

Send a terse update to all clients
public SendTerseUpdateToAllClients ( ) : void
Résultat void

SendTerseUpdateToClient() public méthode

public SendTerseUpdateToClient ( IClientAPI remoteClient ) : void
remoteClient IClientAPI
Résultat void

SetAngularImpulse() public méthode

hook to the physics scene to apply angular impulse This is sent up to the group, which then finds the root prim and applies the force on the root prim of the group
public SetAngularImpulse ( Vector3 impulsei, bool localGlobalTF ) : void
impulsei Vector3 Vector force
localGlobalTF bool true for the local frame, false for the global frame
Résultat void

SetAttachmentPoint() public méthode

public SetAttachmentPoint ( uint AttachmentPoint ) : void
AttachmentPoint uint
Résultat void

SetAvatarOnSitTarget() public méthode

public SetAvatarOnSitTarget ( UUID avatarID ) : void
avatarID UUID
Résultat void

SetAxisRotation() public méthode

public SetAxisRotation ( int axis, int rotate ) : void
axis int
rotate int
Résultat void

SetBlockGrab() public méthode

public SetBlockGrab ( bool p ) : void
p bool
Résultat void

SetBuoyancy() public méthode

public SetBuoyancy ( float fvalue ) : void
fvalue float
Résultat void

SetCameraAtOffset() public méthode

public SetCameraAtOffset ( Vector3 v ) : void
v Vector3
Résultat void

SetCameraEyeOffset() public méthode

public SetCameraEyeOffset ( Vector3 v ) : void
v Vector3
Résultat void

SetDieAtEdge() public méthode

public SetDieAtEdge ( bool p ) : void
p bool
Résultat void

SetFaceColor() public méthode

Set the color of prim faces
public SetFaceColor ( Vector3 color, int face ) : void
color Vector3
face int
Résultat void

SetFloatOnWater() public méthode

public SetFloatOnWater ( int floatYN ) : void
floatYN int
Résultat void

SetForce() public méthode

public SetForce ( Vector3 force ) : void
force Vector3
Résultat void

SetForceMouselook() public méthode

public SetForceMouselook ( bool force ) : void
force bool
Résultat void

SetGroup() public méthode

public SetGroup ( UUID groupID, IClientAPI client ) : void
groupID UUID
client IClientAPI
Résultat void

SetHoverHeight() public méthode

Uses a PID to attempt to clamp the object on the Z axis at the given height over tau seconds.
public SetHoverHeight ( float height, PIDHoverType hoverType, float tau ) : void
height float Height to hover. Height of zero disables hover.
hoverType PIDHoverType Determines what the height is relative to
tau float Number of seconds over which to reach target
Résultat void

SetParent() public méthode

public SetParent ( SceneObjectGroup parent ) : void
parent SceneObjectGroup
Résultat void

SetParentLocalId() public méthode

public SetParentLocalId ( uint localID ) : void
localID uint
Résultat void

SetPhysicsAxisRotation() public méthode

public SetPhysicsAxisRotation ( ) : void
Résultat void

SetReturnAtEdge() public méthode

public SetReturnAtEdge ( bool p ) : void
p bool
Résultat void

SetScriptEvents() public méthode

Set the events that this part will pass on to listeners.
public SetScriptEvents ( UUID scriptid, int events ) : void
scriptid UUID
events int
Résultat void

SetStatusSandbox() public méthode

public SetStatusSandbox ( bool p ) : void
p bool
Résultat void

SetText() public méthode

Set the text displayed for this part.
public SetText ( string text ) : void
text string
Résultat void

SetText() public méthode

Set the text displayed for this part.
public SetText ( string text, Vector3 color, double alpha ) : void
text string
color Vector3
alpha double
Résultat void

SetVehicleFlags() public méthode

public SetVehicleFlags ( int param, bool remove ) : void
param int
remove bool
Résultat void

SetVehicleFloatParam() public méthode

public SetVehicleFloatParam ( int param, float value ) : void
param int
value float
Résultat void

SetVehicleRotationParam() public méthode

public SetVehicleRotationParam ( int param, Quaternion rotation ) : void
param int
rotation Quaternion
Résultat void

SetVehicleType() public méthode

public SetVehicleType ( int type ) : void
type int
Résultat void

SetVehicleVectorParam() public méthode

public SetVehicleVectorParam ( int param, Vector3 value ) : void
param int
value Vector3
Résultat void

StopHover() public méthode

public StopHover ( ) : void
Résultat void

StopLookAt() public méthode

public StopLookAt ( ) : void
Résultat void

StopMoveToTarget() public méthode

public StopMoveToTarget ( ) : void
Résultat void

StoreUndoState() public méthode

public StoreUndoState ( ) : void
Résultat void

TestIntersection() public méthode

public TestIntersection ( Ray iray, Quaternion parentrot ) : EntityIntersection
iray Ray
parentrot Quaternion
Résultat EntityIntersection

TestIntersectionOBB() public méthode

public TestIntersectionOBB ( Ray iray, Quaternion parentrot, bool frontFacesOnly, bool faceCenters ) : EntityIntersection
iray Ray
parentrot Quaternion
frontFacesOnly bool
faceCenters bool
Résultat EntityIntersection

ToString() public méthode

public ToString ( ) : string
Résultat string

ToXml() public méthode

Serialize this part to xml.
public ToXml ( XmlTextWriter xmlWriter ) : void
xmlWriter XmlTextWriter
Résultat void

TriggerScriptChangedEvent() public méthode

public TriggerScriptChangedEvent ( Changed val ) : void
val Changed
Résultat void

TrimPermissions() public méthode

public TrimPermissions ( ) : void
Résultat void

Undo() public méthode

public Undo ( ) : void
Résultat void

UpdateExtraParam() public méthode

public UpdateExtraParam ( ushort type, bool inUse, byte data ) : void
type ushort
inUse bool
data byte
Résultat void

UpdateGroupPosition() public méthode

public UpdateGroupPosition ( Vector3 pos ) : void
pos Vector3
Résultat void

UpdateLookAt() public méthode

public UpdateLookAt ( ) : void
Résultat void

UpdateMovement() public méthode

public UpdateMovement ( ) : void
Résultat void

UpdateOffSet() public méthode

public UpdateOffSet ( Vector3 pos ) : void
pos Vector3
Résultat void

UpdatePermissions() public méthode

public UpdatePermissions ( UUID AgentID, byte field, uint localID, uint mask, byte addRemTF ) : void
AgentID UUID
field byte
localID uint
mask uint
addRemTF byte
Résultat void

UpdatePrimFlags() public méthode

public UpdatePrimFlags ( bool UsePhysics, bool IsTemporary, bool IsPhantom, bool IsVD ) : void
UsePhysics bool
IsTemporary bool
IsPhantom bool
IsVD bool
Résultat void

UpdateRotation() public méthode

public UpdateRotation ( Quaternion rot ) : void
rot Quaternion
Résultat void

UpdateShape() public méthode

Update the shape of this part.
public UpdateShape ( ObjectShapePacket shapeBlock ) : void
shapeBlock ObjectShapePacket
Résultat void

UpdateTexture() public méthode

Update the textures on the part.
public UpdateTexture ( Primitive tex ) : void
tex Primitive
Résultat void

UpdateTextureEntry() public méthode

Update the texture entry for this part.
public UpdateTextureEntry ( byte textureEntry ) : void
textureEntry byte
Résultat void

aggregateScriptEvents() public méthode

public aggregateScriptEvents ( ) : void
Résultat void

registerRotTargetWaypoint() public méthode

public registerRotTargetWaypoint ( Quaternion target, float tolerance ) : int
target Quaternion
tolerance float
Résultat int

registerTargetWaypoint() public méthode

public registerTargetWaypoint ( Vector3 target, float tolerance ) : int
target Vector3
tolerance float
Résultat int

rotLookAt() public méthode

public rotLookAt ( Quaternion target, float strength, float damping ) : void
target Quaternion
strength float
damping float
Résultat void

startLookAt() public méthode

public startLookAt ( Quaternion rot, float damp, float strength ) : void
rot Quaternion
damp float
strength float
Résultat void

stopLookAt() public méthode

public stopLookAt ( ) : void
Résultat void

unregisterRotTargetWaypoint() public méthode

public unregisterRotTargetWaypoint ( int handle ) : void
handle int
Résultat void

unregisterTargetWaypoint() public méthode

public unregisterTargetWaypoint ( int handle ) : void
handle int
Résultat void

Property Details

AggregateScriptEvents public_oe property

public scriptEvents AggregateScriptEvents
Résultat scriptEvents

AllowedDrop public_oe property

public bool AllowedDrop
Résultat bool

AttachedAvatar public_oe property

public UUID AttachedAvatar
Résultat UUID

AttachedPos public_oe property

public Vector3,System AttachedPos
Résultat System.Vector3

AttachmentPoint public_oe property

public uint AttachmentPoint
Résultat uint

BlockGrab public_oe property

public bool BlockGrab
Résultat bool

DIE_AT_EDGE public_oe property

public bool DIE_AT_EDGE
Résultat bool

FromFolderID public_oe property

public UUID FromFolderID
Résultat UUID

FromItemID public_oe property

public UUID FromItemID
Résultat UUID

IgnoreUndoUpdate public_oe property

public bool IgnoreUndoUpdate
Résultat bool

IsAttachment public_oe property

public bool IsAttachment
Résultat bool

IsWaitingForFirstSpinUpdatePacket public_oe property

public bool IsWaitingForFirstSpinUpdatePacket
Résultat bool

PayPrice public_oe property

public int[] PayPrice
Résultat int[]

RETURN_AT_EDGE public_oe property

public bool RETURN_AT_EDGE
Résultat bool

RotationAxis public_oe property

public Vector3 RotationAxis
Résultat Vector3

STATUS_ROTATE_X public_oe property

public int STATUS_ROTATE_X
Résultat int

STATUS_ROTATE_Y public_oe property

public int STATUS_ROTATE_Y
Résultat int

STATUS_ROTATE_Z public_oe property

public int STATUS_ROTATE_Z
Résultat int

Sound public_oe property

public UUID Sound
Résultat UUID

SoundFlags public_oe property

public byte SoundFlags
Résultat byte

SoundGain public_oe property

public double SoundGain
Résultat double

SoundRadius public_oe property

public double SoundRadius
Résultat double

SpinOldOrientation public_oe property

public Quaternion SpinOldOrientation
Résultat Quaternion

StatusSandbox public_oe property

public bool StatusSandbox
Résultat bool

StatusSandboxPos public_oe property

public Vector3 StatusSandboxPos
Résultat Vector3

TimeStampFull public_oe property

public uint TimeStampFull
Résultat uint

TimeStampLastActivity public_oe property

public uint TimeStampLastActivity
Résultat uint

TimeStampTerse public_oe property

public uint TimeStampTerse
Résultat uint

Undoing public_oe property

public bool Undoing
Résultat bool

VolumeDetectActive public_oe property

public bool VolumeDetectActive
Résultat bool

m_APIDDamp public_oe property

public float m_APIDDamp
Résultat float

m_APIDStrength public_oe property

public float m_APIDStrength
Résultat float

m_APIDTarget public_oe property

public Quaternion m_APIDTarget
Résultat Quaternion

m_acceleration protected_oe property

protected Vector3 m_acceleration
Résultat Vector3

m_angularVelocity protected_oe property

protected Vector3 m_angularVelocity
Résultat Vector3

m_groupPosition protected_oe property

protected Vector3 m_groupPosition
Résultat Vector3

m_inventory protected_oe property

protected SceneObjectPartInventory m_inventory
Résultat SceneObjectPartInventory

m_lastAcceleration protected_oe property

protected Vector3 m_lastAcceleration
Résultat Vector3

m_lastAngularVelocity protected_oe property

protected Vector3 m_lastAngularVelocity
Résultat Vector3

m_lastPosition protected_oe property

protected Vector3 m_lastPosition
Résultat Vector3

m_lastRotation protected_oe property

protected Quaternion m_lastRotation
Résultat Quaternion

m_lastTerseSent protected_oe property

protected int m_lastTerseSent
Résultat int

m_lastVelocity protected_oe property

protected Vector3 m_lastVelocity
Résultat Vector3

m_localId protected_oe property

protected uint m_localId
Résultat uint

m_material protected_oe property

protected Material m_material
Résultat Material

m_mediaUrl protected_oe property

Stores media texture data
protected string m_mediaUrl
Résultat string

m_name protected_oe property

protected string m_name
Résultat string

m_offsetPosition protected_oe property

protected Vector3 m_offsetPosition
Résultat Vector3

m_parentGroup protected_oe property

protected SceneObjectGroup m_parentGroup
Résultat SceneObjectGroup

m_particleSystem protected_oe property

protected byte[] m_particleSystem
Résultat byte[]

m_regionHandle protected_oe property

protected ulong m_regionHandle
Résultat ulong

m_rotationOffset protected_oe property

protected Quaternion m_rotationOffset
Résultat Quaternion

m_shape protected_oe property

protected PrimitiveBaseShape m_shape
Résultat PrimitiveBaseShape

m_uuid protected_oe property

protected UUID m_uuid
Résultat UUID

m_velocity protected_oe property

protected Vector3 m_velocity
Résultat Vector3