GuillotinePacker.InsertRectangleCallback Delegate
Namespace: Stride.Core.MathematicsAssembly: Stride.Core.Mathematics.dll
A delegate callback used by TryInsert(Int32, Int32, Int32, GuillotinePacker.InsertRectangleCallback)
public delegate void InsertRectangleCallback(int cascadeIndex, ref Rectangle rectangle);
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | cascadeIndex | The index of the rectangle |
Rectangle | rectangle | The rectangle found |