Class CanvasScaler.ResolutionScalingMode
Resolution scaling modes.
Inheritance
System.Object
CanvasScaler.ResolutionScalingMode
Namespace: FlaxEngine.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class ResolutionScalingMode : Enum
Fields
Horizontal
Uses the horizontal (X, width) side of the screen to scale the canvas for min/max rule.
Declaration
public const CanvasScaler.ResolutionScalingMode Horizontal
Field Value
CanvasScaler.ResolutionScalingMode
|
LongestSide
Uses the longest side of the screen to scale the canvas for min/max rule.
Declaration
public const CanvasScaler.ResolutionScalingMode LongestSide
Field Value
CanvasScaler.ResolutionScalingMode
|
ShortestSide
Uses the shortest side of the screen to scale the canvas for min/max rule.
Declaration
public const CanvasScaler.ResolutionScalingMode ShortestSide
Field Value
CanvasScaler.ResolutionScalingMode
|
value__
Declaration
public int value__
Field Value
System.Int32
|
Vertical
Uses the vertical (Y, height) side of the screen to scale the canvas for min/max rule.
Declaration
public const CanvasScaler.ResolutionScalingMode Vertical
Field Value
CanvasScaler.ResolutionScalingMode
|