C# Class BEPUphysics.BroadPhaseEntries.BroadPhaseEntry

Superclass of all objects which live inside the broad phase. The BroadPhase will generate pairs between BroadPhaseEntries.
Inheritance: IBoundingBoxOwner, ICollisionRulesOwner
Datei anzeigen Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Property Type Description
boundingBox BoundingBox

Public Methods

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

Protected Methods

Method Description
BroadPhaseEntry ( ) : System
CollisionRulesUpdated ( ) : void

Method Details

BroadPhaseEntry() protected method

protected BroadPhaseEntry ( ) : System
return System

CollisionRulesUpdated() protected abstract method

protected abstract CollisionRulesUpdated ( ) : void
return void

ConvexCast() public method

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

ConvexCast() public abstract method

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

GetHashCode() public method

Gets the object's hash code.
public GetHashCode ( ) : int
return int

RayCast() public method

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

RayCast() public abstract method

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

UpdateBoundingBox() public abstract method

Updates the bounding box to the current state of the entry.
public abstract UpdateBoundingBox ( ) : void
return void

Property Details

boundingBox protected_oe property

protected BoundingBox boundingBox
return BoundingBox