Synced
RectInt.FromMinMax
Section titled “RectInt.FromMinMax”
- Creates a rectangle from minimum and maximum boundaries; point containment excludes the maximum boundary.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public static Inno.Core.Mathematics.RectInt Inno.Core.Mathematics.RectInt.FromMinMax(Inno.Core.Mathematics.Vector2Int min, Inno.Core.Mathematics.Vector2Int max)Parameters
Section titled “Parameters”Parameter min: The min consumed by from min max; ownership remains with the caller unless explicitly stated otherwise.
Parameter max: The max consumed by from min max; ownership remains with the caller unless explicitly stated otherwise.
Returns
Section titled “Returns”The validated rect int that represents the completed operation.