C# Class BEPUphysics.PhysicsResources

Handles allocation and management of commonly used resources.
Datei anzeigen Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
GetBroadPhaseEntryList ( ) : RawList

Retrieves an BroadPhaseEntry list from the resource pool.

GetCollidableList ( ) : RawList

Retrieves a Collidable list from the resource pool.

GetCompoundChildList ( ) : RawList

Retrieves an CompoundChild list from the resource pool.

GetEntityRawList ( ) : RawList

Retrieves an Entity RawList from the resource pool.

GetRayCastResultList ( ) : RawList

Retrieves a ray cast result list from the resource pool.

GetSimulationIslandConnection ( ) : BEPUphysics.DeactivationManagement.SimulationIslandConnection

Retrieves a simulation island connection from the resource pool.

GetTriangle ( ) : TriangleShape

Retrieves a Triangle shape from the resource pool.

GetTriangle ( Microsoft.Xna.Framework.Vector3 &v1, Microsoft.Xna.Framework.Vector3 &v2, Microsoft.Xna.Framework.Vector3 &v3 ) : TriangleShape

Retrieves a Triangle shape from the resource pool.

GetTriangleCollidable ( ) : TriangleCollidable

Retrieves a TriangleCollidable from the resource pool.

GetTriangleCollidable ( Microsoft.Xna.Framework.Vector3 &a, Microsoft.Xna.Framework.Vector3 &b, Microsoft.Xna.Framework.Vector3 &c ) : TriangleCollidable

Retrieves a TriangleCollidable from the resource pool.

GetTriangleIndicesList ( ) : RawList

Retrieves a TriangleIndices list from the resource pool.

GiveBack ( RawList list ) : void

Returns a resource to the pool.

GiveBack ( RawList list ) : void

Returns a resource to the pool.

GiveBack ( RawList list ) : void

Returns a resource to the pool.

GiveBack ( RawList list ) : void

Returns a resource to the pool.

GiveBack ( RawList list ) : void

Returns a resource to the pool.

GiveBack ( RawList triangleIndices ) : void

Returns a resource to the pool.

GiveBack ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void

Returns a resource to the pool.

GiveBack ( TriangleCollidable triangle ) : void

Returns a resource to the pool.

GiveBack ( TriangleShape triangle ) : void

Returns a resource to the pool.

ResetPools ( ) : void

Private Methods

Method Description
PhysicsResources ( ) : BEPUphysics.BroadPhaseEntries

Method Details

GetBroadPhaseEntryList() public static method

Retrieves an BroadPhaseEntry list from the resource pool.
public static GetBroadPhaseEntryList ( ) : RawList
return RawList

GetCollidableList() public static method

Retrieves a Collidable list from the resource pool.
public static GetCollidableList ( ) : RawList
return RawList

GetCompoundChildList() public static method

Retrieves an CompoundChild list from the resource pool.
public static GetCompoundChildList ( ) : RawList
return RawList

GetEntityRawList() public static method

Retrieves an Entity RawList from the resource pool.
public static GetEntityRawList ( ) : RawList
return RawList

GetRayCastResultList() public static method

Retrieves a ray cast result list from the resource pool.
public static GetRayCastResultList ( ) : RawList
return RawList

GetSimulationIslandConnection() public static method

Retrieves a simulation island connection from the resource pool.
public static GetSimulationIslandConnection ( ) : BEPUphysics.DeactivationManagement.SimulationIslandConnection
return BEPUphysics.DeactivationManagement.SimulationIslandConnection

GetTriangle() public static method

Retrieves a Triangle shape from the resource pool.
public static GetTriangle ( ) : TriangleShape
return BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape

GetTriangle() public static method

Retrieves a Triangle shape from the resource pool.
public static GetTriangle ( Microsoft.Xna.Framework.Vector3 &v1, Microsoft.Xna.Framework.Vector3 &v2, Microsoft.Xna.Framework.Vector3 &v3 ) : TriangleShape
v1 Microsoft.Xna.Framework.Vector3 Position of the first vertex.
v2 Microsoft.Xna.Framework.Vector3 Position of the second vertex.
v3 Microsoft.Xna.Framework.Vector3 Position of the third vertex.
return BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape

GetTriangleCollidable() public static method

Retrieves a TriangleCollidable from the resource pool.
public static GetTriangleCollidable ( ) : TriangleCollidable
return TriangleCollidable

GetTriangleCollidable() public static method

Retrieves a TriangleCollidable from the resource pool.
public static GetTriangleCollidable ( Microsoft.Xna.Framework.Vector3 &a, Microsoft.Xna.Framework.Vector3 &b, Microsoft.Xna.Framework.Vector3 &c ) : TriangleCollidable
a Microsoft.Xna.Framework.Vector3 First vertex in the triangle.
b Microsoft.Xna.Framework.Vector3 Second vertex in the triangle.
c Microsoft.Xna.Framework.Vector3 Third vertex in the triangle.
return TriangleCollidable

GetTriangleIndicesList() public static method

Retrieves a TriangleIndices list from the resource pool.
public static GetTriangleIndicesList ( ) : RawList
return RawList

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList triangleIndices ) : void
triangleIndices RawList TriangleIndices list to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void
connection BEPUphysics.DeactivationManagement.SimulationIslandConnection Connection to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( TriangleCollidable triangle ) : void
triangle TriangleCollidable Triangle collidable to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( TriangleShape triangle ) : void
triangle BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape Triangle to return.
return void

ResetPools() public static method

public static ResetPools ( ) : void
return void