C# Класс BEPUphysics.PhysicsResources

Handles allocation and management of commonly used resources.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
PhysicsResources ( ) : BEPUphysics.BroadPhaseEntries

Описание методов

GetBroadPhaseEntryList() публичный статический метод

Retrieves an BroadPhaseEntry list from the resource pool.
public static GetBroadPhaseEntryList ( ) : RawList
Результат RawList

GetCollidableList() публичный статический метод

Retrieves a Collidable list from the resource pool.
public static GetCollidableList ( ) : RawList
Результат RawList

GetCompoundChildList() публичный статический метод

Retrieves an CompoundChild list from the resource pool.
public static GetCompoundChildList ( ) : RawList
Результат RawList

GetEntityRawList() публичный статический метод

Retrieves an Entity RawList from the resource pool.
public static GetEntityRawList ( ) : RawList
Результат RawList

GetRayCastResultList() публичный статический метод

Retrieves a ray cast result list from the resource pool.
public static GetRayCastResultList ( ) : RawList
Результат RawList

GetSimulationIslandConnection() публичный статический метод

Retrieves a simulation island connection from the resource pool.
public static GetSimulationIslandConnection ( ) : BEPUphysics.DeactivationManagement.SimulationIslandConnection
Результат BEPUphysics.DeactivationManagement.SimulationIslandConnection

GetTriangle() публичный статический метод

Retrieves a Triangle shape from the resource pool.
public static GetTriangle ( ) : TriangleShape
Результат BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape

GetTriangle() публичный статический метод

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.
Результат BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape

GetTriangleCollidable() публичный статический метод

Retrieves a TriangleCollidable from the resource pool.
public static GetTriangleCollidable ( ) : TriangleCollidable
Результат TriangleCollidable

GetTriangleCollidable() публичный статический метод

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.
Результат TriangleCollidable

GetTriangleIndicesList() публичный статический метод

Retrieves a TriangleIndices list from the resource pool.
public static GetTriangleIndicesList ( ) : RawList
Результат RawList

GiveBack() публичный статический метод

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
Результат void

GiveBack() публичный статический метод

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
Результат void

GiveBack() публичный статический метод

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
Результат void

GiveBack() публичный статический метод

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
Результат void

GiveBack() публичный статический метод

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
Результат void

GiveBack() публичный статический метод

Returns a resource to the pool.
public static GiveBack ( RawList triangleIndices ) : void
triangleIndices RawList TriangleIndices list to return.
Результат void

GiveBack() публичный статический метод

Returns a resource to the pool.
public static GiveBack ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void
connection BEPUphysics.DeactivationManagement.SimulationIslandConnection Connection to return.
Результат void

GiveBack() публичный статический метод

Returns a resource to the pool.
public static GiveBack ( TriangleCollidable triangle ) : void
triangle TriangleCollidable Triangle collidable to return.
Результат void

GiveBack() публичный статический метод

Returns a resource to the pool.
public static GiveBack ( TriangleShape triangle ) : void
triangle BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape Triangle to return.
Результат void

ResetPools() публичный статический метод

public static ResetPools ( ) : void
Результат void