C# 클래스 FarseerPhysics.Collision.Shapes.CircleShape

상속: Shape
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 메소드들

메소드 설명
CircleShape ( float radius, float density ) : System

Create a new circle with the desired radius and density.

CompareTo ( CircleShape shape ) : bool

Compare the circle to another circle

clone ( ) : Shape
computeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void
computeSubmergedArea ( Vector2 &normal, float offset, Transform &xf, Vector2 &sc ) : float
rayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool
testPoint ( Transform &transform, Vector2 &point ) : bool

보호된 메소드들

메소드 설명
computeProperties ( ) : void

비공개 메소드들

메소드 설명
CircleShape ( ) : System

메소드 상세

CircleShape() 공개 메소드

Create a new circle with the desired radius and density.
public CircleShape ( float radius, float density ) : System
radius float The radius of the circle.
density float The density of the circle.
리턴 System

CompareTo() 공개 메소드

Compare the circle to another circle
public CompareTo ( CircleShape shape ) : bool
shape CircleShape The other circle
리턴 bool

clone() 공개 메소드

public clone ( ) : Shape
리턴 Shape

computeAABB() 공개 메소드

public computeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void
aabb AABB
transform Transform
childIndex int
리턴 void

computeProperties() 보호된 최종 메소드

protected final computeProperties ( ) : void
리턴 void

computeSubmergedArea() 공개 메소드

public computeSubmergedArea ( Vector2 &normal, float offset, Transform &xf, Vector2 &sc ) : float
normal Vector2
offset float
xf Transform
sc Vector2
리턴 float

rayCast() 공개 메소드

public rayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool
output RayCastOutput
input RayCastInput
transform Transform
childIndex int
리턴 bool

testPoint() 공개 메소드

public testPoint ( Transform &transform, Vector2 &point ) : bool
transform Transform
point Vector2
리턴 bool