C# Class tk2dCamera, Malisse

Inheritance: MonoBehaviour
Show file Open project: Collegiennes/Malisse Class Usage Examples

Public Properties

Property Type Description
enableResolutionOverrides bool
inst tk2dCamera,
nativeResolutionHeight int
nativeResolutionWidth int
resolutionOverride tk2dCameraResolutionOverride[],

Private Properties

Property Type Description
Awake void
LateUpdate void

Public Methods

Method Description
UpdateCameraMatrix ( ) : void

Updates the camera matrix to ensure 1:1 pixel mapping

Private Methods

Method Description
Awake ( ) : void
LateUpdate ( ) : void

Method Details

UpdateCameraMatrix() public method

Updates the camera matrix to ensure 1:1 pixel mapping
public UpdateCameraMatrix ( ) : void
return void

Property Details

enableResolutionOverrides public property

public bool enableResolutionOverrides
return bool

inst public static property

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

nativeResolutionHeight public property

Native resolution height of the camera. Override this in the inspector.
public int nativeResolutionHeight
return int

nativeResolutionWidth public property

Native resolution width of the camera. Override this in the inspector.
public int nativeResolutionWidth
return int

resolutionOverride public property

Resolution overrides, if necessary. See tk2dCameraResolutionOverride
public tk2dCameraResolutionOverride[], resolutionOverride
return tk2dCameraResolutionOverride[],