/Asset/Plugins/27 Slicer/Demos/4. Slice Modifiers/Slice Modifiers.unity
Slice modifiers can be used to modify other objects that are a descendant of a SlicerController.
In this demo the mug has a PositionSliceModifier to keep it in the corner of the table. It will stay in this location as the table's SlicerController Size vector is changed.
The tablecloth has both a ScaleSliceModifier and a PositionSliceModifier that allows the tablecloth to scale with as the table’s size is changed.
The SlicerIgnore on both the mug and tablecloth stops the SlicerController from slicing their meshes. SliceModifiers that are a sibling to a SlicerIgnore will be run, but any descendants of the SlicerIgnore will be ignored.
In the video example below
Edit Mode of the Slicer Controller is toggled on and off. It then navigates through the Table hierarchy to show how it is setup.
These demos are setup to only work with the Built-in Render Pipeline.
The lighting and materials will be incorrect if the demo is loaded into a project with a different render pipeline enabled.
27 Slicer is compatible with these renderers when properly setup. The Compatibility page has further information.