Method Slice
Slice(Vector3, Transform, Bounds, Bounds)
Slices the tracked items, this is where the magic happens!
Declaration
public abstract void Slice(Vector3 size, Transform rootTransform, Bounds completeBounds, Bounds slicedBounds)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | size | The final size (as a scale) of all the items that are to be sliced. See Size for more information. |
Transform | rootTransform | The transform of the parent SlicerController |
Bounds | completeBounds | The complete bounding box of all sliced items after being sliced. See CompleteBounds for more information. |
Bounds | slicedBounds | The bounding box of the slices that will be made. See SlicedBounds for more information. |