C# Class exPixelPerfectCamera, ex2d-v1

Inheritance: MonoBehaviour
Afficher le fichier Open project: exdev/ex2d-v1 Class Usage Examples

Méthodes publiques

Свойство Type Description
customResolution bool
fixOrthographicSize bool
height int
orthographicSize float
width int

Protected Properties

Свойство Type Description
lastFieldOfView float
lastOrthographic bool
lastOrthographicSize float
lastScreenHeight int
lastScreenWidth int

Méthodes publiques

Méthode Description
Awake ( ) : void
CalculatePixelPerfectScale ( exSpriteBase, _sprite, Vector3 _toSprite ) : void
CalculateScaleAndRatio ( ) : void
OnPreRender ( ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

CalculatePixelPerfectScale() public méthode

public CalculatePixelPerfectScale ( exSpriteBase, _sprite, Vector3 _toSprite ) : void
_sprite exSpriteBase,
_toSprite Vector3
Résultat void

CalculateScaleAndRatio() public méthode

public CalculateScaleAndRatio ( ) : void
Résultat void

OnPreRender() public méthode

public OnPreRender ( ) : void
Résultat void

Property Details

customResolution public_oe property

public bool customResolution
Résultat bool

fixOrthographicSize public_oe property

public bool fixOrthographicSize
Résultat bool

height public_oe property

public int height
Résultat int

lastFieldOfView protected_oe property

protected float lastFieldOfView
Résultat float

lastOrthographic protected_oe property

protected bool lastOrthographic
Résultat bool

lastOrthographicSize protected_oe property

protected float lastOrthographicSize
Résultat float

lastScreenHeight protected_oe property

protected int lastScreenHeight
Résultat int

lastScreenWidth protected_oe property

protected int lastScreenWidth
Résultat int

orthographicSize public_oe property

public float orthographicSize
Résultat float

width public_oe property

public int width
Résultat int