C# 클래스 exPixelPerfectCamera, ex2d-v1

상속: MonoBehaviour
파일 보기 프로젝트 열기: exdev/ex2d-v1 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
customResolution bool
fixOrthographicSize bool
height int
orthographicSize float
width int

보호된 프로퍼티들

프로퍼티 타입 설명
lastFieldOfView float
lastOrthographic bool
lastOrthographicSize float
lastScreenHeight int
lastScreenWidth int

공개 메소드들

메소드 설명
Awake ( ) : void
CalculatePixelPerfectScale ( exSpriteBase, _sprite, Vector3 _toSprite ) : void
CalculateScaleAndRatio ( ) : void
OnPreRender ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

CalculatePixelPerfectScale() 공개 메소드

public CalculatePixelPerfectScale ( exSpriteBase, _sprite, Vector3 _toSprite ) : void
_sprite exSpriteBase,
_toSprite Vector3
리턴 void

CalculateScaleAndRatio() 공개 메소드

public CalculateScaleAndRatio ( ) : void
리턴 void

OnPreRender() 공개 메소드

public OnPreRender ( ) : void
리턴 void

프로퍼티 상세

customResolution 공개적으로 프로퍼티

public bool customResolution
리턴 bool

fixOrthographicSize 공개적으로 프로퍼티

public bool fixOrthographicSize
리턴 bool

height 공개적으로 프로퍼티

public int height
리턴 int

lastFieldOfView 보호되어 있는 프로퍼티

protected float lastFieldOfView
리턴 float

lastOrthographic 보호되어 있는 프로퍼티

protected bool lastOrthographic
리턴 bool

lastOrthographicSize 보호되어 있는 프로퍼티

protected float lastOrthographicSize
리턴 float

lastScreenHeight 보호되어 있는 프로퍼티

protected int lastScreenHeight
리턴 int

lastScreenWidth 보호되어 있는 프로퍼티

protected int lastScreenWidth
리턴 int

orthographicSize 공개적으로 프로퍼티

public float orthographicSize
리턴 float

width 공개적으로 프로퍼티

public int width
리턴 int