C# 클래스 SuperTiled2Unity.CollisionObject

파일 보기 프로젝트 열기: Seanba/SuperPrefabReplacement

공개 프로퍼티들

프로퍼티 타입 설명
m_CustomProperties List
m_IsTrigger bool
m_ObjectId int
m_ObjectName string
m_ObjectType string
m_PhysicsLayer string
m_Position Vector2
m_Rotation float
m_Size Vector2

공개 메소드들

메소드 설명
MakePointsFromEllipse ( int numEdges ) : void
MakePointsFromPolygon ( Array points ) : void
MakePointsFromPolyline ( Array points ) : void
MakePointsFromRectangle ( ) : void
RenderPoints ( SuperTiled2Unity.SuperTile tile, GridOrientation orientation, Vector2 gridSize ) : void

비공개 메소드들

메소드 설명
ApplyRotationToPoints ( ) : void
IsometricTransform ( Vector2 pt, SuperTiled2Unity.SuperTile tile, Vector2 gridSize ) : Vector2
LocalTransform ( Vector2 pt, SuperTiled2Unity.SuperTile tile ) : Vector2

메소드 상세

MakePointsFromEllipse() 공개 메소드

public MakePointsFromEllipse ( int numEdges ) : void
numEdges int
리턴 void

MakePointsFromPolygon() 공개 메소드

public MakePointsFromPolygon ( Array points ) : void
points Array
리턴 void

MakePointsFromPolyline() 공개 메소드

public MakePointsFromPolyline ( Array points ) : void
points Array
리턴 void

MakePointsFromRectangle() 공개 메소드

public MakePointsFromRectangle ( ) : void
리턴 void

RenderPoints() 공개 메소드

public RenderPoints ( SuperTiled2Unity.SuperTile tile, GridOrientation orientation, Vector2 gridSize ) : void
tile SuperTiled2Unity.SuperTile
orientation GridOrientation
gridSize Vector2
리턴 void

프로퍼티 상세

m_CustomProperties 공개적으로 프로퍼티

public List m_CustomProperties
리턴 List

m_IsTrigger 공개적으로 프로퍼티

public bool m_IsTrigger
리턴 bool

m_ObjectId 공개적으로 프로퍼티

public int m_ObjectId
리턴 int

m_ObjectName 공개적으로 프로퍼티

public string m_ObjectName
리턴 string

m_ObjectType 공개적으로 프로퍼티

public string m_ObjectType
리턴 string

m_PhysicsLayer 공개적으로 프로퍼티

public string m_PhysicsLayer
리턴 string

m_Position 공개적으로 프로퍼티

public Vector2 m_Position
리턴 Vector2

m_Rotation 공개적으로 프로퍼티

public float m_Rotation
리턴 float

m_Size 공개적으로 프로퍼티

public Vector2 m_Size
리턴 Vector2