27 Slicer 27 Slicer
Search Results for

    Show / Hide Table of Contents

    Field Id

    The Id of the item being tracked.

    Namespace: Slicer
    Assembly: 27Slicer.dll
    Syntax
    public int Id
    Returns
    TypeDescription
    Int32
    Remarks

    This ID is normally obtained using the MonoBehaviour.GetInstanceID() of the primary component used during slicing.

    Examples

    For example the following Slicer Components use these IDs.

    • MeshSlicerComponent: MeshFilter.GetInstanceID()
    • ColliderSlicerComponent: Collider.GetInstanceID()
      ☀
      ☾
      In This Article
      Back to top
      27 Slicer documentation | Copyright 2021 Deftly Games
      ☀
      ☾