Class SlicerControllerSliceModifier
Modifies the size property of the SlicerController
, as if it is being sliced.
Inherited Members
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
Properties
Name | Description |
---|---|
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
Name | Description |
---|---|
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. |