C# Class tk2dCamera, Malisse

Inheritance: MonoBehaviour
Afficher le fichier Open project: Collegiennes/Malisse Class Usage Examples

Méthodes publiques

Свойство Type Description
enableResolutionOverrides bool
inst tk2dCamera,
nativeResolutionHeight int
nativeResolutionWidth int
resolutionOverride tk2dCameraResolutionOverride[],

Private Properties

Свойство Type Description
Awake void
LateUpdate void

Méthodes publiques

Méthode Description
UpdateCameraMatrix ( ) : void

Updates the camera matrix to ensure 1:1 pixel mapping

Private Methods

Méthode Description
Awake ( ) : void
LateUpdate ( ) : void

Method Details

UpdateCameraMatrix() public méthode

Updates the camera matrix to ensure 1:1 pixel mapping
public UpdateCameraMatrix ( ) : void
Résultat void

Property Details

enableResolutionOverrides public_oe property

public bool enableResolutionOverrides
Résultat bool

inst public_oe static_oe property

Global instance, used by sprite and textmesh class to quickly find the tk2dCamera instance.
public static tk2dCamera, inst
Résultat tk2dCamera,

nativeResolutionHeight public_oe property

Native resolution height of the camera. Override this in the inspector.
public int nativeResolutionHeight
Résultat int

nativeResolutionWidth public_oe property

Native resolution width of the camera. Override this in the inspector.
public int nativeResolutionWidth
Résultat int

resolutionOverride public_oe property

Resolution overrides, if necessary. See tk2dCameraResolutionOverride
public tk2dCameraResolutionOverride[], resolutionOverride
Résultat tk2dCameraResolutionOverride[],