27 Slicer 27 Slicer
Search Results for

    Show / Hide Table of Contents

    Class SlicerControllerSliceModifier

    Modifies the size property of the SlicerController, as if it is being sliced.

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    SliceModifier
    SlicerControllerSliceModifier
    Inherited Members
    SliceModifier.ModifierEnabled
    SliceModifier.DoNotUpdateInPlayMode
    SliceModifier.ShouldUpdate()
    SliceModifier.GetParentSlicerController()
    Namespace: Slicer
    Assembly: 27Slicer.dll
    Syntax
    [ExecuteAlways]
    [DisallowMultipleComponent]
    [AddComponentMenu("Slicer/Slicer Controller Slice Modifier")]
    [RequireComponent(typeof(SlicerController))]
    [HelpURL("https://slicer.deftly.games/manual/components/slicer_controller_slice_modifier.html")]
    public class SlicerControllerSliceModifier : SliceModifier
    Examples



    REFERENCE MANUAL

    Properties

    NameDescription
    OriginalOffset

    The original offset of the SlicerController

    OriginalSize

    The original size of the SlicerController

    SlicedOffset

    The sliced offset of the SlicerController

    SlicedSize

    The sliced size of the SlicerController

    Methods

    NameDescription
    DisableModifier()

    Disables this Slice Modifier.

    EnableModifier()

    Enables this Slice Modifier.

    FinalizeSlicing()

    Finalizes slicing for this Slice Modifier.

    GatherDetails()

    Gathers details required for applying this modification.

    Modify(Vector3, Transform, Bounds, Bounds)

    Applies the modification to the tracked items.

    SetUnslicedSize(Vector3)

    Sets the size of the Slicer Controller before slicing.

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