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

A circle shape.
상속: Shape
파일 보기 프로젝트 열기: gerich-home/box2dnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
P Box2D.Common.Vec2

공개 메소드들

메소드 설명
CircleShape ( ) : System.Diagnostics

this is used internally, instead use {@link Body#createShape(ShapeDef)} with a {@link CircleDef}

Clone ( ) : Shape
ComputeAABB ( AABB aabb, Transform transform, int childIndex ) : void
ComputeMass ( MassData massData, float density ) : void
GetSupport ( Vec2 d ) : int

Get the supporting vertex index in the given direction.

GetSupportVertex ( Vec2 d ) : Vec2

Get the supporting vertex in the given direction.

GetVertex ( int index ) : Vec2

Get a vertex by index.

Raycast ( RayCastOutput output, RayCastInput input, Transform transform, int childIndex ) : bool
TestPoint ( Transform transform, Vec2 p ) : bool

메소드 상세

CircleShape() 공개 메소드

this is used internally, instead use {@link Body#createShape(ShapeDef)} with a {@link CircleDef}
public CircleShape ( ) : System.Diagnostics
리턴 System.Diagnostics

Clone() 공개 메소드

public Clone ( ) : Shape
리턴 Shape

ComputeAABB() 공개 메소드

public ComputeAABB ( AABB aabb, Transform transform, int childIndex ) : void
aabb AABB
transform Box2D.Common.Transform
childIndex int
리턴 void

ComputeMass() 공개 메소드

public ComputeMass ( MassData massData, float density ) : void
massData MassData
density float
리턴 void

GetSupport() 공개 메소드

Get the supporting vertex index in the given direction.
public GetSupport ( Vec2 d ) : int
d Box2D.Common.Vec2
리턴 int

GetSupportVertex() 공개 메소드

Get the supporting vertex in the given direction.
public GetSupportVertex ( Vec2 d ) : Vec2
d Box2D.Common.Vec2
리턴 Box2D.Common.Vec2

GetVertex() 공개 메소드

Get a vertex by index.
public GetVertex ( int index ) : Vec2
index int
리턴 Box2D.Common.Vec2

Raycast() 공개 메소드

public Raycast ( RayCastOutput output, RayCastInput input, Transform transform, int childIndex ) : bool
output RayCastOutput
input RayCastInput
transform Box2D.Common.Transform
childIndex int
리턴 bool

TestPoint() 공개 메소드

public TestPoint ( Transform transform, Vec2 p ) : bool
transform Box2D.Common.Transform
p Box2D.Common.Vec2
리턴 bool

프로퍼티 상세

P 공개적으로 프로퍼티

public Vec2,Box2D.Common P
리턴 Box2D.Common.Vec2