Highroad Engine v1.3
Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MoreMountains.Tools.MMCameraAspectRatio Class Reference

Forces an aspect ratio on a camera More...

Inheritance diagram for MoreMountains.Tools.MMCameraAspectRatio:

Public Attributes

Vector2 AspectRatio = Vector2.zero
 the desired aspect ratio More...
 

Protected Member Functions

virtual void Start ()
 On Start, we run the Initialization method More...
 
virtual void Initialization ()
 Checks the presence of a camera component, and applies the aspect ratio to it More...
 

Protected Attributes

Camera _camera
 

Detailed Description

Forces an aspect ratio on a camera

Member Function Documentation

◆ Initialization()

virtual void MoreMountains.Tools.MMCameraAspectRatio.Initialization ( )
protectedvirtual

Checks the presence of a camera component, and applies the aspect ratio to it

◆ Start()

virtual void MoreMountains.Tools.MMCameraAspectRatio.Start ( )
protectedvirtual

On Start, we run the Initialization method

Member Data Documentation

◆ _camera

Camera MoreMountains.Tools.MMCameraAspectRatio._camera
protected

◆ AspectRatio

Vector2 MoreMountains.Tools.MMCameraAspectRatio.AspectRatio = Vector2.zero

the desired aspect ratio


The documentation for this class was generated from the following file: