27 Slicer 27 Slicer
Search Results for

    Show / Hide Table of Contents

    Class MeshDetails

    MeshDetails is used to keep track of information about a single Mesh that is being sliced.

    Inheritance
    Object
    Details
    MeshDetails
    Inherited Members
    Details.Id
    Details.Transform
    Details.Remove
    Namespace: Slicer
    Assembly: 27Slicer.dll
    Syntax
    [Serializable]
    public class MeshDetails : Details

    Fields

    NameDescription
    MeshFilter

    The MeshFilter on the GameObject being tracked by this details object.

    MeshRenderer

    The MeshRenderer on the GameObject being tracked by this details object.

    OriginalBounds

    The Bounds of the mesh before it is sliced, in local space of the parent SlicerComponent.

    OriginalSharedMesh

    The Original Mesh on the GameObject being tracked by this details object.

    SlicedMesh

    The Modified Mesh on the GameObject being tracked by this details object.

    SlicedUvHash

    The hash of the UVs after slicing.

    SlicedVertHash

    The hash of the Verts after slicing.

    Methods

    NameDescription
    CalculateHash()

    Calculates the hash of this details object using important properties.

    Destroy()

    Used to destroy any components that is being managing.

    DestroySlicedMesh()

    Destroys the Sliced Mesh

    DisableSlicing()

    Resets any component to its original state.

    EnableSlicing()

    Sets any component to its sliced state.

    FinalizeSlicing()

    Readies this component up to finalize slicing

    ResetHashes()

    Resets the mesh hashes

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