C# 클래스 FruityFalls.Geometry.Polygon

상속: CCNode
파일 보기 프로젝트 열기: xamarin/mobile-samples 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
LastCollisionPoint CCPoint

공개 메소드들

메소드 설명
CollideAgainst ( Circle circle ) : bool
CreateRectangle ( float width, float height ) : Polygon
GetNormalClosestTo ( CCPoint point, float &distance ) : CCPoint
IsPointInside ( float x, float y ) : bool
Polygon ( ) : System
VectorFrom ( float x, float y, CCPoint vertices, int &pointIndexBefore ) : CCPoint

비공개 메소드들

메소드 설명
ReactToPointsSet ( ) : void
UpdateAbsolutePoints ( ) : void

메소드 상세

CollideAgainst() 공개 메소드

public CollideAgainst ( Circle circle ) : bool
circle Circle
리턴 bool

CreateRectangle() 공개 정적인 메소드

public static CreateRectangle ( float width, float height ) : Polygon
width float
height float
리턴 Polygon

GetNormalClosestTo() 공개 메소드

public GetNormalClosestTo ( CCPoint point, float &distance ) : CCPoint
point CCPoint
distance float
리턴 CCPoint

IsPointInside() 공개 메소드

public IsPointInside ( float x, float y ) : bool
x float
y float
리턴 bool

Polygon() 공개 메소드

public Polygon ( ) : System
리턴 System

VectorFrom() 공개 정적인 메소드

public static VectorFrom ( float x, float y, CCPoint vertices, int &pointIndexBefore ) : CCPoint
x float
y float
vertices CCPoint
pointIndexBefore int
리턴 CCPoint

프로퍼티 상세

LastCollisionPoint 공개적으로 프로퍼티

public CCPoint LastCollisionPoint
리턴 CCPoint