Synced
RectInt.TryIntersect
Section titled “RectInt.TryIntersect”
- Attempts to intersect without changing state when the operation cannot complete.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime
Declaration
Section titled “Declaration”public static bool InnoEngine.Mathematics.RectInt.TryIntersect(InnoEngine.Mathematics.RectInt a, InnoEngine.Mathematics.RectInt b, out InnoEngine.Mathematics.RectInt 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.