Class FloatExtensions
- Namespace
- Exiled.API.Extensions
- Assembly
- Exiled.API.dll
A set of extensions for float.
public static class FloatExtensions
- Inheritance
-
FloatExtensions
- Inherited Members
Methods
GetAspectRatioLabel(float)
Gets the closest AspectRatioType for a given aspect ratio value.
public static AspectRatioType GetAspectRatioLabel(this float ratio)
Parameters
ratiofloatThe aspect ratio value to compare.
Returns
- AspectRatioType
The closest matching AspectRatioType.