C# 클래스 FarseerPhysics.Common.PolygonCreationAssistance

Class used as a data container and helper for the texture-to-vertices code.
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
InBounds ( Vector2 coord ) : bool
IsSolid ( Vector2 pixel ) : bool
IsSolid ( int index ) : bool
IsSolid ( int x, int y ) : bool
IsValid ( ) : bool
PolygonCreationAssistance ( uint data, int width, int height ) : System

메소드 상세

InBounds() 공개 메소드

public InBounds ( Vector2 coord ) : bool
coord Vector2
리턴 bool

IsSolid() 공개 메소드

public IsSolid ( Vector2 pixel ) : bool
pixel Vector2
리턴 bool

IsSolid() 공개 메소드

public IsSolid ( int index ) : bool
index int
리턴 bool

IsSolid() 공개 메소드

public IsSolid ( int x, int y ) : bool
x int
y int
리턴 bool

IsValid() 공개 메소드

public IsValid ( ) : bool
리턴 bool

PolygonCreationAssistance() 공개 메소드

public PolygonCreationAssistance ( uint data, int width, int height ) : System
data uint
width int
height int
리턴 System