C# Класс BEPUphysics.BroadPhaseEntries.BroadPhaseEntry

Superclass of all objects which live inside the broad phase. The BroadPhase will generate pairs between BroadPhaseEntries.
Наследование: IBoundingBoxOwner, ICollisionRulesOwner
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
boundingBox BoundingBox

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

Метод Описание
ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, Vector3 &sweep, bool>.Func filter, RayHit &hit ) : bool

Sweeps a convex shape against the entry.

ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, Vector3 &sweep, RayHit &hit ) : bool

Sweeps a convex shape against the entry.

GetHashCode ( ) : int

Gets the object's hash code.

RayCast ( Ray ray, float maximumLength, bool>.Func filter, RayHit &rayHit ) : bool

Tests a ray against the entry.

RayCast ( Ray ray, float maximumLength, RayHit &rayHit ) : bool

Tests a ray against the entry.

UpdateBoundingBox ( ) : void

Updates the bounding box to the current state of the entry.

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

Метод Описание
BroadPhaseEntry ( ) : System
CollisionRulesUpdated ( ) : void

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

BroadPhaseEntry() защищенный метод

protected BroadPhaseEntry ( ) : System
Результат System

CollisionRulesUpdated() защищенный абстрактный метод

protected abstract CollisionRulesUpdated ( ) : void
Результат void

ConvexCast() публичный метод

Sweeps a convex shape against the entry.
public ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, Vector3 &sweep, bool>.Func filter, RayHit &hit ) : bool
castShape BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Swept shape.
startingTransform BEPUutilities.RigidTransform Beginning location and orientation of the cast shape.
sweep Vector3 Sweep motion to apply to the cast shape.
filter bool>.Func Test to apply to the entry. If it returns true, the entry is processed, otherwise the entry is ignored. If a collidable hierarchy is present /// in the entry, this filter will be passed into inner ray casts.
hit BEPUutilities.RayHit Hit data of the cast on the entry, if any.
Результат bool

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

Sweeps a convex shape against the entry.
public abstract ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, Vector3 &sweep, RayHit &hit ) : bool
castShape BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Swept shape.
startingTransform BEPUutilities.RigidTransform Beginning location and orientation of the cast shape.
sweep Vector3 Sweep motion to apply to the cast shape.
hit BEPUutilities.RayHit Hit data of the cast on the entry, if any.
Результат bool

GetHashCode() публичный метод

Gets the object's hash code.
public GetHashCode ( ) : int
Результат int

RayCast() публичный метод

Tests a ray against the entry.
public RayCast ( Ray ray, float maximumLength, bool>.Func filter, RayHit &rayHit ) : bool
ray Ray Ray to test.
maximumLength float Maximum length, in units of the ray's direction's length, to test.
filter bool>.Func Test to apply to the entry. If it returns true, the entry is processed, otherwise the entry is ignored. If a collidable hierarchy is present /// in the entry, this filter will be passed into inner ray casts.
rayHit BEPUutilities.RayHit Hit location of the ray on the entry, if any.
Результат bool

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

Tests a ray against the entry.
public abstract RayCast ( Ray ray, float maximumLength, RayHit &rayHit ) : bool
ray Ray Ray to test.
maximumLength float Maximum length, in units of the ray's direction's length, to test.
rayHit BEPUutilities.RayHit Hit location of the ray on the entry, if any.
Результат bool

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

Updates the bounding box to the current state of the entry.
public abstract UpdateBoundingBox ( ) : void
Результат void

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

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

protected BoundingBox boundingBox
Результат BoundingBox