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
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Свойство Type Description
boundingBox BoundingBox

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
BroadPhaseEntry ( ) : System
CollisionRulesUpdated ( ) : void

Method Details

BroadPhaseEntry() protected méthode

protected BroadPhaseEntry ( ) : System
Résultat System

CollisionRulesUpdated() protected abstract méthode

protected abstract CollisionRulesUpdated ( ) : void
Résultat void

ConvexCast() public méthode

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.
Résultat bool

ConvexCast() public abstract méthode

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.
Résultat bool

GetHashCode() public méthode

Gets the object's hash code.
public GetHashCode ( ) : int
Résultat int

RayCast() public méthode

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.
Résultat bool

RayCast() public abstract méthode

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.
Résultat bool

UpdateBoundingBox() public abstract méthode

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

Property Details

boundingBox protected_oe property

protected BoundingBox boundingBox
Résultat BoundingBox