27 Slicer 27 Slicer
Search Results for

    Show / Hide Table of Contents

    Class SlicerConfiguration

    Static class used for managing configuration and other useful information for the slicer.

    Inheritance
    Object
    SlicerConfiguration
    Namespace: Slicer.Core
    Assembly: 27Slicer.Core.dll
    Syntax
    public static class SlicerConfiguration
    Remarks
    Warning

    The configuration should not be changed during runtime and instead should only be modified using the "27 Slicer Configuration" window. This window can be found by navigating to Window -> 27 Slicer -> Configuration in the Unity Editor.

    Fields

    NameDescription
    ComponentsManualPath

    The path to the reference manuals for components on the web site.

    ManualPath

    The path to the reference manuals.

    SiteUrl

    The URL to the 27 Slicer web site.

    Properties

    NameDescription
    CustomConfigurationLoaded

    Gets a value indicating whether the configuration has been customized and loaded from file.

    FinalizeOnStart

    When enabled all slicers will be finalized immediately after they start at runtime.

    OptimizeFinalizedSlicedMesh

    When finalizing a sliced mesh also Optimize it.

    RefreshSlicesOnUpdate

    Optimization - When enabled the slicer will update every frame. It is recommended to leave this disabled and call SlicerController.RefreshSlice() when an update is required.

    SetFinalizedSlicedMeshToBeNoLongerReadable

    When finalizing a sliced mesh also set it to be no longer readable.

    SkipUnmodifiedSlices

    Optimization - When enabled the slicer will only update if the slicer has been modified. It is recommended to leave this enabled but is useful for debugging.

    UseFinalizedSlicedMeshComponent

    When finalizing sliced meshes also initialize a FinalizedSlicedMesh component that will manage the lifecycle of the sliced mesh.

    e.g. The sliced mesh will be destroyed when the FinalizedSlicedMesh component is destroyed.

    Methods

    NameDescription
    LoadConfiguration()

    Loads the configuration.

    If a custom configuration is being used the configuration file asset will be loaded and will overwrite the default configuration.

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