C# 클래스 Nez.Transform

파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
entity System.Entity
shouldRoundPosition bool

공개 메소드들

메소드 설명
ToString ( ) : string
Transform ( System.Entity entity ) : System
copyFrom ( Transform transform ) : void
getChild ( int index ) : Transform

returns the Transform child at index

roundPosition ( ) : void

rounds the position of the Transform

setParent ( Transform parent ) : Transform

sets the parent Transform of this Transform

비공개 메소드들

메소드 설명
setDirty ( DirtyType dirtyFlagType ) : void
setLocalPosition ( Vector2 localPosition ) : Transform
setLocalRotation ( float radians ) : Transform
setLocalRotationDegrees ( float degrees ) : Transform
setLocalScale ( Vector2 scale ) : Transform
setLocalScale ( float scale ) : Transform
setPosition ( Vector2 position ) : Transform
setPosition ( float x, float y ) : Transform
setRotation ( float radians ) : Transform
setRotationDegrees ( float degrees ) : Transform
setScale ( Vector2 scale ) : Transform
setScale ( float scale ) : Transform
updateTransform ( ) : void

메소드 상세

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Transform() 공개 메소드

public Transform ( System.Entity entity ) : System
entity System.Entity
리턴 System

copyFrom() 공개 메소드

public copyFrom ( Transform transform ) : void
transform Transform
리턴 void

getChild() 공개 메소드

returns the Transform child at index
public getChild ( int index ) : Transform
index int Index.
리턴 Transform

roundPosition() 공개 메소드

rounds the position of the Transform
public roundPosition ( ) : void
리턴 void

setParent() 공개 메소드

sets the parent Transform of this Transform
public setParent ( Transform parent ) : Transform
parent Transform Parent.
리턴 Transform

프로퍼티 상세

entity 공개적으로 프로퍼티

the Entity associated with this transform
public Entity,System entity
리턴 System.Entity

shouldRoundPosition 공개적으로 정적으로 프로퍼티

if true, everytime position is set it will be rounded automatically
public static bool shouldRoundPosition
리턴 bool