Component:GenericSlicer

From Resonite Wiki
Component image 
Generic Slicer component as seen in the Scene Inspector

The GenericSlicer component is used to drive and handle the slicing of materials like volumes and PBS Slice.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Targets list of GenericSlicer.SliceDrive The Slicer Fields on materials to drive.
Space direct RootSpace The transform space to do slicing in.
_grabbedVisual Slot The visual to show and hide when this Slicer is grabbed.

SliceDrive

Fields
Name Type Description
Position field drive of Float3 The position of a material slice entry to drive
Normal field drive of Float3 The Normal of a material slice entry to drive
Destroyed delegate of identity Action`1<SliceDrive> The Sync delegate to call when this is destroyed, passing this entry as an argument.

Usage

See Object Slicer Tool.

Examples

See Object Slicer Tool.

See Also