C# 클래스 Box2DX.Dynamics.ContactFilter

파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

공개 메소드들

메소드 설명
RayCollide ( object userData, Shape shape ) : bool

Return true if the given shape should be considered for ray intersection.

ShouldCollide ( Shape shape1, Shape shape2 ) : bool

Return true if contact calculations should be performed between these two shapes. If you implement your own collision filter you may want to build from this implementation. @warning for performance reasons this is only called when the AABBs begin to overlap.

메소드 상세

RayCollide() 공개 메소드

Return true if the given shape should be considered for ray intersection.
public RayCollide ( object userData, Shape shape ) : bool
userData object
shape Box2DX.Collision.Shape
리턴 bool

ShouldCollide() 공개 메소드

Return true if contact calculations should be performed between these two shapes. If you implement your own collision filter you may want to build from this implementation. @warning for performance reasons this is only called when the AABBs begin to overlap.
public ShouldCollide ( Shape shape1, Shape shape2 ) : bool
shape1 Box2DX.Collision.Shape
shape2 Box2DX.Collision.Shape
리턴 bool