Synced
Rect.TryIntersect
Section titled “Rect.TryIntersect”
- Attempts to intersect without changing state when the operation cannot complete.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public static bool Inno.Core.Mathematics.Rect.TryIntersect(Inno.Core.Mathematics.Rect a, Inno.Core.Mathematics.Rect b, out Inno.Core.Mathematics.Rect intersection)Parameters
Section titled “Parameters”Parameter a: The first operand or interpolation endpoint.
Parameter b: The second operand or interpolation endpoint.
Parameter intersection: The intersection consumed by try intersect; ownership remains with the caller unless explicitly stated otherwise.
Returns
Section titled “Returns”true when the requested condition is satisfied; otherwise, false.