27 Slicer 27 Slicer
Search Results for

    Show / Hide Table of Contents

    Class PositionSliceModifier

    Modifies the position of the GameObject, as if its position vector is being sliced.

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



    REFERENCE MANUAL

    Fields

    NameDescription
    Anchor

    The anchor (offset) position to be used by this modifier.

    Properties

    NameDescription
    OriginalPosition

    The original position of the Game Object

    SlicedPosition

    The sliced position of the Game Object

    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.

    SetUnslicedPosition(Vector3)

    Sets the position of the Game Object before slicing.

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