C# 클래스 BEPUphysics.BroadPhaseEntries.StaticGroup

Collection of unmoving collidable objects.
Batching multiple static objects together into a StaticGroup as opposed to adding them separately to the Space avoids BroadPhase pollution, improving performance.
상속: StaticCollidable
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
events ContactEventManager

공개 메소드들

메소드 설명
ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, System.Vector3 &sweep, bool>.Func filter, RayHit &hit ) : bool

Casts a convex shape against the collidable.

ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, System.Vector3 &sweep, RayHit &hit ) : bool

Casts a convex shape against the collidable.

RayCast ( BEPUutilities.Ray ray, float maximumLength, bool>.Func filter, RayHit &rayHit ) : bool

Tests a ray against the entry.

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

Tests a ray against the entry.

StaticGroup ( IList collidables ) : System

Constructs a new static mesh.

UpdateBoundingBox ( ) : void

Updates the bounding box to the current state of the entry.

메소드 상세

ConvexCast() 공개 메소드

Casts a convex shape against the collidable.
public ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, System.Vector3 &sweep, bool>.Func filter, RayHit &hit ) : bool
castShape BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape 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.
hit BEPUutilities.RayHit Hit data, if any.
리턴 bool

ConvexCast() 공개 메소드

Casts a convex shape against the collidable.
public ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, System.Vector3 &sweep, RayHit &hit ) : bool
castShape BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Shape to cast.
startingTransform BEPUutilities.RigidTransform Initial transform of the shape.
sweep System.Vector3 Sweep to apply to the shape.
hit BEPUutilities.RayHit Hit data, if any.
리턴 bool

RayCast() 공개 메소드

Tests a ray against the entry.
public RayCast ( BEPUutilities.Ray ray, float maximumLength, bool>.Func filter, RayHit &rayHit ) : 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.
rayHit BEPUutilities.RayHit Hit location of the ray on the entry, if any.
리턴 bool

RayCast() 공개 메소드

Tests a ray against the entry.
public RayCast ( BEPUutilities.Ray ray, float maximumLength, RayHit &rayHit ) : bool
ray BEPUutilities.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

StaticGroup() 공개 메소드

Constructs a new static mesh.
public StaticGroup ( IList collidables ) : System
collidables IList List of collidables in the static group.
리턴 System

UpdateBoundingBox() 공개 메소드

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

프로퍼티 상세

events 보호되어 있는 프로퍼티

protected ContactEventManager events
리턴 ContactEventManager