ViewportResizeStyle
Namespace: Murder.Core.Graphics
Assembly: Murder.dll
public sealed struct ViewportResizeStyle
⭐ Constructors
public ViewportResizeStyle()
public ViewportResizeStyle(ViewportResizeMode resizeMode, float snapToInteger, RoundingMode roundingMode, float positiveApectRatioAllowance, float negativeApectRatioAllowance)
Parameters
resizeMode
ViewportResizeMode
snapToInteger
float
roundingMode
RoundingMode
positiveApectRatioAllowance
float
negativeApectRatioAllowance
float
public ViewportResizeStyle(ViewportResizeMode resizeMode)
Parameters
resizeMode
ViewportResizeMode
⭐ Properties
AbsoluteScale
public readonly T? AbsoluteScale;
Returns
T?
NegativeApectRatioAllowance
public readonly float NegativeApectRatioAllowance;
Returns
float
PositiveApectRatioAllowance
public readonly float PositiveApectRatioAllowance;
Returns
float
ResizeMode
public readonly ViewportResizeMode ResizeMode;
Returns
ViewportResizeMode
RoundingMode
public readonly RoundingMode RoundingMode;
Returns
RoundingMode
SnapToInteger
public readonly float SnapToInteger;
Returns
float
⚡