C# Class 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.
Inheritance: BEPUphysics.CollisionShapes.CollisionShape
Datei anzeigen Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
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.

Method Details

ConvexCast() public method

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.
return bool

ConvexCast() public method

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.
return bool

RayCast() public method

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.
return bool

RayCast() public method

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.
return bool

StaticGroupShape() public method

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.
return System