C# Class Universe.Physics.BulletSPlugin.BSShapeMesh

Inheritance: BSShape
Datei anzeigen Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
BSShapeMesh ( BulletShape pShape ) : System
CreatePhysicalMeshShape ( BSScene physicsScene, BSPhysObject prim, System.UInt64 newMeshKey, PrimitiveBaseShape pbs, OpenMetaverse size, float lod, CreateShapeCall makeShape ) : BulletShape
Dereference ( BSScene physicsScene ) : void
GetReference ( BSScene pPhysicsScene, BSPhysObject pPrim ) : BSShape
GetReference ( BSScene physicsScene, bool forceRebuild, BSPhysObject prim ) : BSShape
TryGetMeshByPtr ( BulletShape pShape, BSShapeMesh &outMesh ) : bool

Private Methods

Method Description
CreatePhysicalMesh ( BSScene physicsScene, BSPhysObject prim, System.UInt64 newMeshKey, PrimitiveBaseShape pbs, OpenMetaverse size, float lod ) : BulletShape

Method Details

BSShapeMesh() public method

public BSShapeMesh ( BulletShape pShape ) : System
pShape BulletShape
return System

CreatePhysicalMeshShape() public static method

public static CreatePhysicalMeshShape ( BSScene physicsScene, BSPhysObject prim, System.UInt64 newMeshKey, PrimitiveBaseShape pbs, OpenMetaverse size, float lod, CreateShapeCall makeShape ) : BulletShape
physicsScene BSScene
prim BSPhysObject
newMeshKey System.UInt64
pbs PrimitiveBaseShape
size OpenMetaverse
lod float
makeShape CreateShapeCall
return BulletShape

Dereference() public method

public Dereference ( BSScene physicsScene ) : void
physicsScene BSScene
return void

GetReference() public method

public GetReference ( BSScene pPhysicsScene, BSPhysObject pPrim ) : BSShape
pPhysicsScene BSScene
pPrim BSPhysObject
return BSShape

GetReference() public static method

public static GetReference ( BSScene physicsScene, bool forceRebuild, BSPhysObject prim ) : BSShape
physicsScene BSScene
forceRebuild bool
prim BSPhysObject
return BSShape

TryGetMeshByPtr() public static method

public static TryGetMeshByPtr ( BulletShape pShape, BSShapeMesh &outMesh ) : bool
pShape BulletShape
outMesh BSShapeMesh
return bool