27 Slicer 27 Slicer
Search Results for

    Show / Hide Table of Contents

    Scale Slice Modifier

    API DOCUMENTATION

    A Scale Slice Modifier will modify the scale vector of its Game Object, as if it is being sliced.

    The Scale Slice Modifier must have a Slicer Controller as an ancestor.

    Properties

    Inspector of a Scale Slice Modifier

    PropertyFunction
    Do Not Update In Play ModeWhen checked, this modifier will not update the scale of the Game Object when Unity is in play mode.
    This is useful if you want something else to take over control of the Game Objects scale.
    Original ScaleUsed to set the scale of the Game Object before it is sliced.

    Details

    To use this modifier, Adjust the Original Scale property to set the 'pre-sliced' scale of the Game Object. The position can also be set by adjusting the Game Objects scale property while the parent Slicer Controller is in edit mode.

    Currently this is a very simple calculation. It does not take into consideration if parts of the object being scaled lay outside of the sliced bounds.

    This simple method should be correct or close enough most of the time.

    Note

    It is recommended that you have the parent Slicer Controller in Edit Mode when you are making changes to how an object is being sliced.

    In most cases it is ok to make changes outside of edit mode, but if you are having issues with slices staying set, try making the adjustments in edit mode instead.

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

      Inspector of a Scale Slice Modifier