C# Class Simian.SimulationObject

Datei anzeigen Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Public Properties

Property Type Description
Frozen bool
LinkNumber int
Prim OpenMetaverse.Primitive

Protected Properties

Property Type Description
Meshes OpenMetaverse.Rendering.SimpleMesh[]
Server Simian
WorldTransformedMeshes OpenMetaverse.Rendering.SimpleMesh[]

Public Methods

Method Description
BuildFullUpdate ( Primitive obj, ulong regionHandle, PrimFlags flags ) : ObjectUpdatePacket
BuildObjectData ( System.Vector3 position, Quaternion rotation, System.Vector3 velocity, System.Vector3 acceleration, System.Vector3 angularVelocity ) : byte[]
BuildUpdateBlock ( Primitive obj, ulong regionHandle, PrimFlags flags ) : ObjectUpdatePacket.ObjectDataBlock
GetMesh ( DetailLevel lod ) : SimpleMesh
GetWorldMesh ( DetailLevel lod, SimulationObject parent ) : SimpleMesh
SimulationObject ( Primitive prim, Simian server ) : System
SimulationObject ( SimulationObject obj ) : System

Method Details

BuildFullUpdate() public static method

public static BuildFullUpdate ( Primitive obj, ulong regionHandle, PrimFlags flags ) : ObjectUpdatePacket
obj OpenMetaverse.Primitive
regionHandle ulong
flags PrimFlags
return ObjectUpdatePacket

BuildObjectData() public static method

public static BuildObjectData ( System.Vector3 position, Quaternion rotation, System.Vector3 velocity, System.Vector3 acceleration, System.Vector3 angularVelocity ) : byte[]
position System.Vector3
rotation Quaternion
velocity System.Vector3
acceleration System.Vector3
angularVelocity System.Vector3
return byte[]

BuildUpdateBlock() public static method

public static BuildUpdateBlock ( Primitive obj, ulong regionHandle, PrimFlags flags ) : ObjectUpdatePacket.ObjectDataBlock
obj OpenMetaverse.Primitive
regionHandle ulong
flags PrimFlags
return ObjectUpdatePacket.ObjectDataBlock

GetMesh() public method

public GetMesh ( DetailLevel lod ) : SimpleMesh
lod DetailLevel
return OpenMetaverse.Rendering.SimpleMesh

GetWorldMesh() public method

public GetWorldMesh ( DetailLevel lod, SimulationObject parent ) : SimpleMesh
lod DetailLevel
parent SimulationObject
return OpenMetaverse.Rendering.SimpleMesh

SimulationObject() public method

public SimulationObject ( Primitive prim, Simian server ) : System
prim OpenMetaverse.Primitive
server Simian
return System

SimulationObject() public method

public SimulationObject ( SimulationObject obj ) : System
obj SimulationObject
return System

Property Details

Frozen public_oe property

True when an avatar grabs this object. Stops movement and rotation
public bool Frozen
return bool

LinkNumber public_oe property

Link number, if this object is part of a linkset
public int LinkNumber
return int

Meshes protected_oe property

protected SimpleMesh[],OpenMetaverse.Rendering Meshes
return OpenMetaverse.Rendering.SimpleMesh[]

Prim public_oe property

Reference to the primitive object this class wraps
public Primitive,OpenMetaverse Prim
return OpenMetaverse.Primitive

Server protected_oe property

protected Simian,Simian Server
return Simian

WorldTransformedMeshes protected_oe property

protected SimpleMesh[],OpenMetaverse.Rendering WorldTransformedMeshes
return OpenMetaverse.Rendering.SimpleMesh[]