Inventory Engine  v3.8
Public Member Functions | Public Attributes | List of all members
MoreMountains.Tools.MMAspectRatioSafeZones Class Reference

A class to handle the automatic display of safe zones for the different ratios setup in the inspector More...

Inherits MonoBehaviour.

Public Member Functions

virtual void AutoSetup ()
 

Public Attributes

bool DrawCenterCrosshair = true
 whether or not to draw the center crosshair More...
 
float CenterCrosshairSize = 1f
 the size of the center crosshair More...
 
Color CenterCrosshairColor = MMColors.Wheat
 the color of the center crosshair More...
 
bool DrawRatios = true
 whether or not to draw any ratio More...
 
float CameraSize = 5f
 the size of the projected ratios More...
 
float UnsafeZonesOpacity = 0.2f
 the opacity to apply to the dead zones More...
 
List< RatioRatios
 the list of ratios to draw More...
 
bool AutoSetupButton
 

Detailed Description

A class to handle the automatic display of safe zones for the different ratios setup in the inspector

Member Function Documentation

◆ AutoSetup()

virtual void MoreMountains.Tools.MMAspectRatioSafeZones.AutoSetup ( )
virtual

Member Data Documentation

◆ AutoSetupButton

bool MoreMountains.Tools.MMAspectRatioSafeZones.AutoSetupButton

◆ CameraSize

float MoreMountains.Tools.MMAspectRatioSafeZones.CameraSize = 5f

the size of the projected ratios

◆ CenterCrosshairColor

Color MoreMountains.Tools.MMAspectRatioSafeZones.CenterCrosshairColor = MMColors.Wheat

the color of the center crosshair

◆ CenterCrosshairSize

float MoreMountains.Tools.MMAspectRatioSafeZones.CenterCrosshairSize = 1f

the size of the center crosshair

◆ DrawCenterCrosshair

bool MoreMountains.Tools.MMAspectRatioSafeZones.DrawCenterCrosshair = true

whether or not to draw the center crosshair

◆ DrawRatios

bool MoreMountains.Tools.MMAspectRatioSafeZones.DrawRatios = true

whether or not to draw any ratio

◆ Ratios

List<Ratio> MoreMountains.Tools.MMAspectRatioSafeZones.Ratios

the list of ratios to draw

◆ UnsafeZonesOpacity

float MoreMountains.Tools.MMAspectRatioSafeZones.UnsafeZonesOpacity = 0.2f

the opacity to apply to the dead zones


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