C# Class Universe.Physics.BulletSPlugin.BSShapeCollection

Inheritance: IDisposable
Show file Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Private Properties

Property Type Description
CreateBody bool
CreateGeom bool
CreateGeomMeshOrHull bool
DereferenceExistingShape void
DetailLog void
ReferenceBody void

Public Methods

Method Description
BSShapeCollection ( BSScene physScene ) : System
DereferenceBody ( BulletBody body, PhysicalDestructionCallback bodyCallback ) : void
Dispose ( ) : void
GetBodyAndShape ( bool forceRebuild, BulletWorld sim, BSPhysObject prim ) : bool
GetBodyAndShape ( bool forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallback bodyCallback ) : bool
PrimHasNoCuts ( PrimitiveBaseShape pbs ) : bool

Private Methods

Method Description
CreateBody ( bool forceRebuild, BSPhysObject prim, BulletWorld sim, PhysicalDestructionCallback bodyCallback ) : bool
CreateGeom ( bool forceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback ) : bool
CreateGeomMeshOrHull ( BSPhysObject prim, PhysicalDestructionCallback shapeCallback ) : bool
DereferenceExistingShape ( BSPhysObject prim, PhysicalDestructionCallback shapeCallback ) : void
DetailLog ( string msg ) : void
ReferenceBody ( BulletBody body ) : void

Method Details

BSShapeCollection() public method

public BSShapeCollection ( BSScene physScene ) : System
physScene BSScene
return System

DereferenceBody() public method

public DereferenceBody ( BulletBody body, PhysicalDestructionCallback bodyCallback ) : void
body BulletBody
bodyCallback PhysicalDestructionCallback
return void

Dispose() public method

public Dispose ( ) : void
return void

GetBodyAndShape() public method

public GetBodyAndShape ( bool forceRebuild, BulletWorld sim, BSPhysObject prim ) : bool
forceRebuild bool
sim BulletWorld
prim BSPhysObject
return bool

GetBodyAndShape() public method

public GetBodyAndShape ( bool forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallback bodyCallback ) : bool
forceRebuild bool
sim BulletWorld
prim BSPhysObject
bodyCallback PhysicalDestructionCallback
return bool

PrimHasNoCuts() public static method

public static PrimHasNoCuts ( PrimitiveBaseShape pbs ) : bool
pbs PrimitiveBaseShape
return bool