C# 클래스 BEPUphysics.CollisionShapes.StaticGroupShape

The shape information used by a StaticGroup. Unlike most shapes, a StaticGroupShape cannot be shared between multiple StaticGroups; a StaticGroupShape is linked to a single StaticGroup.
상속: BEPUphysics.CollisionShapes.CollisionShape
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
ConvexCast ( ConvexShapes castShape, RigidTransform &startingTransform, System.Vector3 &sweep, bool>.Func filter, RayCastResult &result ) : bool

Casts a convex shape against the collidable.

ConvexCast ( ConvexShapes castShape, RigidTransform &startingTransform, System.Vector3 &sweep, RayCastResult &result ) : bool

Casts a convex shape against the collidable.

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

Tests a ray against the collidable.

RayCast ( BEPUutilities.Ray ray, float maximumLength, RayCastResult &result ) : bool

Tests a ray against the collidable.

StaticGroupShape ( IList collidables, StaticGroup owner ) : System

Constructs a new StaticGroupShape.

메소드 상세

ConvexCast() 공개 메소드

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

ConvexCast() 공개 메소드

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

RayCast() 공개 메소드

Tests a ray against the collidable.
public RayCast ( BEPUutilities.Ray ray, float maximumLength, bool>.Func filter, RayCastResult &result ) : 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.
result RayCastResult Hit data, if any.
리턴 bool

RayCast() 공개 메소드

Tests a ray against the collidable.
public RayCast ( BEPUutilities.Ray ray, float maximumLength, RayCastResult &result ) : bool
ray BEPUutilities.Ray Ray to test.
maximumLength float Maximum length, in units of the ray's direction's length, to test.
result RayCastResult Hit data, if any.
리턴 bool

StaticGroupShape() 공개 메소드

Constructs a new StaticGroupShape.
public StaticGroupShape ( IList collidables, StaticGroup owner ) : System
collidables IList List of collidables in the StaticGroup.
owner BEPUphysics.BroadPhaseEntries.StaticGroup StaticGroup directly associated with this shape.
리턴 System