Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a rectangle from minimum and maximum boundaries; point containment excludes the maximum boundary.

API: engine
Project: Inno.Core.Mathematics

public static Inno.Core.Mathematics.RectInt Inno.Core.Mathematics.RectInt.FromMinMax(Inno.Core.Mathematics.Vector2Int min, Inno.Core.Mathematics.Vector2Int max)

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.

The validated rect int that represents the completed operation.