C# 클래스 Nez.PolygonCollider

Polygons should be defined in clockwise fashion.
상속: Collider
파일 보기 프로젝트 열기: prime31/Nez

공개 메소드들

메소드 설명
PolygonCollider ( Vector2 points ) : System

If the points are not centered they will be centered with the difference being applied to the localOffset.

PolygonCollider ( int vertCount, float radius ) : System
debugRender ( Graphics graphics ) : void

메소드 상세

PolygonCollider() 공개 메소드

If the points are not centered they will be centered with the difference being applied to the localOffset.
public PolygonCollider ( Vector2 points ) : System
points Vector2 Points.
리턴 System

PolygonCollider() 공개 메소드

public PolygonCollider ( int vertCount, float radius ) : System
vertCount int
radius float
리턴 System

debugRender() 공개 메소드

public debugRender ( Graphics graphics ) : void
graphics Graphics
리턴 void