C# 클래스 BEPUphysics.BroadPhaseEntries.BroadPhaseEntry

Superclass of all objects which live inside the broad phase. The BroadPhase will generate pairs between BroadPhaseEntries.
상속: IBoundingBoxOwner, ICollisionRulesOwner
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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