C# Класс BEPUphysics.CollisionShapes.StaticGroupShape

The shape information used by a StaticGroup. Unlike most shapes, a StaticGroupShape cannot be shared between multiple StaticGroups; a StaticGroupShape is linked to a single StaticGroup.
Наследование: BEPUphysics.CollisionShapes.CollisionShape
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ConvexCast ( ConvexShapes castShape, RigidTransform &startingTransform, System.Vector3 &sweep, bool>.Func filter, RayCastResult &result ) : bool

Casts a convex shape against the collidable.

ConvexCast ( ConvexShapes castShape, RigidTransform &startingTransform, System.Vector3 &sweep, RayCastResult &result ) : bool

Casts a convex shape against the collidable.

RayCast ( BEPUutilities.Ray ray, float maximumLength, bool>.Func filter, RayCastResult &result ) : bool

Tests a ray against the collidable.

RayCast ( BEPUutilities.Ray ray, float maximumLength, RayCastResult &result ) : bool

Tests a ray against the collidable.

StaticGroupShape ( IList collidables, StaticGroup owner ) : System

Constructs a new StaticGroupShape.

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

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

Casts a convex shape against the collidable.
public ConvexCast ( ConvexShapes castShape, RigidTransform &startingTransform, System.Vector3 &sweep, bool>.Func filter, RayCastResult &result ) : bool
castShape ConvexShapes Shape to cast.
startingTransform BEPUutilities.RigidTransform Initial transform of the shape.
sweep System.Vector3 Sweep to apply to the 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.
result RayCastResult Hit data, if any.
Результат bool

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

Casts a convex shape against the collidable.
public ConvexCast ( ConvexShapes castShape, RigidTransform &startingTransform, System.Vector3 &sweep, RayCastResult &result ) : bool
castShape ConvexShapes Shape to cast.
startingTransform BEPUutilities.RigidTransform Initial transform of the shape.
sweep System.Vector3 Sweep to apply to the shape.
result RayCastResult Hit data, if any.
Результат bool

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

Tests a ray against the collidable.
public RayCast ( BEPUutilities.Ray ray, float maximumLength, bool>.Func filter, RayCastResult &result ) : bool
ray BEPUutilities.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.
result RayCastResult Hit data, if any.
Результат bool

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

Tests a ray against the collidable.
public RayCast ( BEPUutilities.Ray ray, float maximumLength, RayCastResult &result ) : bool
ray BEPUutilities.Ray Ray to test.
maximumLength float Maximum length, in units of the ray's direction's length, to test.
result RayCastResult Hit data, if any.
Результат bool

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

Constructs a new StaticGroupShape.
public StaticGroupShape ( IList collidables, StaticGroup owner ) : System
collidables IList List of collidables in the StaticGroup.
owner BEPUphysics.BroadPhaseEntries.StaticGroup StaticGroup directly associated with this shape.
Результат System