C# 클래스 BEPUphysics.BroadPhaseEntries.DetectorVolume

Manages the detection of entities within an arbitrary closed triangle mesh.
상속: BroadPhaseEntry, ISpaceObject, IDeferredEventCreator
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BeganContaining void
BeganTouching void
IDeferredEventCreator void
ISpaceObject void
IsPointContained bool
StoppedContaining void
StoppedTouching void

공개 메소드들

메소드 설명
ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, System.Vector3 &sweep, RayHit &hit ) : bool
DetectorVolume ( TriangleMesh triangleMesh ) : System

Creates a detector volume.

IsPointContained ( System.Vector3 point ) : bool

Determines if a point is contained by the detector volume.

RayCast ( BEPUutilities.Ray ray, float maximumLength, RayHit &rayHit ) : bool
Reinitialize ( ) : void

Updates the detector volume's interpretation of the mesh. This should be called when the the TriangleMesh is changed significantly. This is called automatically if the TriangleMesh property is set.

UpdateBoundingBox ( ) : void

Sets the bounding box of the detector volume to the current hierarchy root bounding box. This is called automatically if the TriangleMesh property is set.

보호된 메소드들

메소드 설명
CollisionRulesUpdated ( ) : void

비공개 메소드들

메소드 설명
BeganContaining ( DetectorVolumePairHandler pair ) : void
BeganTouching ( DetectorVolumePairHandler pair ) : void
IDeferredEventCreator ( ) : void
ISpaceObject ( ISpace newSpace ) : void
IsPointContained ( System.Vector3 &point, RawList triangles ) : bool
StoppedContaining ( DetectorVolumePairHandler pair ) : void
StoppedTouching ( DetectorVolumePairHandler pair ) : void

메소드 상세

CollisionRulesUpdated() 보호된 메소드

protected CollisionRulesUpdated ( ) : void
리턴 void

ConvexCast() 공개 메소드

public ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, System.Vector3 &sweep, RayHit &hit ) : bool
castShape BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape
startingTransform BEPUutilities.RigidTransform
sweep System.Vector3
hit BEPUutilities.RayHit
리턴 bool

DetectorVolume() 공개 메소드

Creates a detector volume.
public DetectorVolume ( TriangleMesh triangleMesh ) : System
triangleMesh BEPUphysics.DataStructures.TriangleMesh Closed and consistently wound mesh defining the volume.
리턴 System

IsPointContained() 공개 메소드

Determines if a point is contained by the detector volume.
public IsPointContained ( System.Vector3 point ) : bool
point System.Vector3 Point to check for containment.
리턴 bool

RayCast() 공개 메소드

public RayCast ( BEPUutilities.Ray ray, float maximumLength, RayHit &rayHit ) : bool
ray BEPUutilities.Ray
maximumLength float
rayHit BEPUutilities.RayHit
리턴 bool

Reinitialize() 공개 메소드

Updates the detector volume's interpretation of the mesh. This should be called when the the TriangleMesh is changed significantly. This is called automatically if the TriangleMesh property is set.
public Reinitialize ( ) : void
리턴 void

UpdateBoundingBox() 공개 메소드

Sets the bounding box of the detector volume to the current hierarchy root bounding box. This is called automatically if the TriangleMesh property is set.
public UpdateBoundingBox ( ) : void
리턴 void