Defines a camera view point. More...
Protected Member Functions | |
virtual void | Update () |
Protected Attributes | |
float | viewSize = 0.5f |
Vector2 | primaryAspectRatio = new Vector2(4, 3) |
Vector2 | secondaryAspectRatio = new Vector2(2, 1) |
Properties | |
virtual float | ViewSize [get, set] |
Orthographic size of the camera view in world units. More... | |
virtual Vector2 | PrimaryAspectRatio [get, set] |
Aspect ratio of the primary view rectangle. More... | |
virtual Vector2 | SecondaryAspectRatio [get, set] |
Aspect ratio of the secondary view rectangle. More... | |
Defines a camera view point.
The position and rotation are specified using the game object's transform, so this class only needs to specify the ortographic view size.
|
protected |
|
protected |
|
getset |
|
getset |
|
getset |