27 Slicer 27 Slicer
Search Results for

    Show / Hide Table of Contents

    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
    TypeNameDescription
    Vector3size

    The final size (as a scale) of all the items that are to be sliced. See Size for more information.

    TransformrootTransform

    The transform of the parent SlicerController

    BoundscompleteBounds

    The complete bounding box of all sliced items after being sliced. See CompleteBounds for more information.

    BoundsslicedBounds

    The bounding box of the slices that will be made. See SlicedBounds for more information.

      ☀
      ☾
      In This Article
      Back to top
      27 Slicer documentation | Copyright 2021 Deftly Games
      ☀
      ☾