C# Класс BEPUphysics.CollisionTests.Manifolds.BoxSphereContactManifold

Manages persistent contact data between two boxes.
Наследование: BEPUphysics.CollisionTests.Manifolds.ContactManifold
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
box ConvexCollidable
sphere ConvexCollidable

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

Метод Описание
BoxSphereContactManifold ( ) : System

Constructs a new manifold.

CleanUp ( ) : void

Cleans up the manifold.

ClearContacts ( ) : void

Clears the contacts associated with this manifold.

Initialize ( Collidable newCollidableA, Collidable newCollidableB ) : void

Initializes the manifold.

Update ( float dt ) : void

Updates the manifold.

Защищенные методы

Метод Описание
Add ( ContactData &contactCandidate ) : void
Remove ( int index ) : void

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

Add() защищенный Метод

protected Add ( ContactData &contactCandidate ) : void
contactCandidate ContactData
Результат void

BoxSphereContactManifold() публичный Метод

Constructs a new manifold.
public BoxSphereContactManifold ( ) : System
Результат System

CleanUp() публичный Метод

Cleans up the manifold.
public CleanUp ( ) : void
Результат void

ClearContacts() публичный Метод

Clears the contacts associated with this manifold.
public ClearContacts ( ) : void
Результат void

Initialize() публичный Метод

Initializes the manifold.
Thrown when the collidables being used are not of the proper type.
public Initialize ( Collidable newCollidableA, Collidable newCollidableB ) : void
newCollidableA BEPUphysics.BroadPhaseEntries.Collidable First collidable.
newCollidableB BEPUphysics.BroadPhaseEntries.Collidable Second collidable.
Результат void

Remove() защищенный Метод

protected Remove ( int index ) : void
index int
Результат void

Update() публичный Метод

Updates the manifold.
public Update ( float dt ) : void
dt float Timestep duration.
Результат void

Описание свойств

box защищенное свойство

protected ConvexCollidable box
Результат ConvexCollidable

sphere защищенное свойство

protected ConvexCollidable sphere
Результат ConvexCollidable