Automated: create new component page |
add info |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
|Name=Object Slicer Tool | |Name=Object Slicer Tool | ||
}} | }} | ||
See [[Object Slicer Tool]]. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|_equipLink|{{RootFieldType|LinkTarget`1|[[Type:ITool|ITool]]}}|TypeAdv0=true| | |_equipLink|{{RootFieldType|LinkTarget`1|[[Type:ITool|ITool]]}}|TypeAdv0=true| {{Template:ITool _equipLink}} | ||
|TipReference|Slot| | |TipReference|Slot| {{Template:ITool TipReference}} | ||
|BlockGripEquip|Bool| | |BlockGripEquip|Bool| {{Template:ITool BlockGripEquip}} | ||
|BlockRemoteEquip|Bool| | |BlockRemoteEquip|Bool| {{Template:ITool BlockRemoteEquip}} | ||
|EquipName|String| | |EquipName|String| {{Template:ITool EquipName}} | ||
|_overrideActiveTool|'''[[Component:InteractionHandler|InteractionHandler]]'''|TypeAdv5=true| | |_overrideActiveTool|'''[[Component:InteractionHandler|InteractionHandler]]'''|TypeAdv5=true| {{Template:ITool _overrideActiveTool}} | ||
|_gripPosesGenerated|Bool| | |_gripPosesGenerated|Bool| {{Template:ITool _gripPosesGenerated}} | ||
|ApplyToObjectRoot|Bool| | |ApplyToObjectRoot|Bool| Whether the slicing material effect should be applied to the nearest object root. | ||
|EdgeColor|ColorX| | |EdgeColor|ColorX| what the edge color for new generated slice materials should be. | ||
|EdgeStart|Float| | |EdgeStart|Float| The start of the range of the edge color from the slicer. | ||
|EdgeEnd|Float| | |EdgeEnd|Float| The end of the range of the edge color from the slicer. | ||
|_slicers|{{RootFieldType|SyncRefList`1|[[Component:GenericSlicer|GenericSlicer]]}}|TypeAdv11=true| | |_slicers|{{RootFieldType|SyncRefList`1|[[Component:GenericSlicer|GenericSlicer]]}}|TypeAdv11=true| The list of slicers this tool has generated and/or is controlling. | ||
|_sliceMaterials|{{RootFieldType|SyncRefList`1|[[PBS_Slice|PBS_Slice]]}}|TypeAdv12=true| | |_sliceMaterials|{{RootFieldType|SyncRefList`1|[[Type:PBS_Slice|PBS_Slice]]}}|TypeAdv12=true| The list of slice materials this tool has generated and/or is controlling. | ||
}} | |||
== Sync Delegates == | |||
{{Table ComponentTriggers | |||
|CreateSlicer:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the create slicer button is touched. | |||
|ClearSetup:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the clear setup button is touched. | |||
}} | }} | ||
== | == Usage == | ||
See [[Object Slicer Tool]]. | |||
== Examples == | == Examples == | ||
See [[Object Slicer Tool]]. | |||
== See Also == | == See Also == | ||
* [[Object Slicer Tool]] | |||
* [[Type:PBS_Slice]] | |||
[[Category:Components:Tools{{#translation:}}|Object Slicer Tool]] | [[Category:Components:Tools{{#translation:}}|Object Slicer Tool]] | ||
[[Category:Components{{#translation:}}|Object Slicer Tool]] | [[Category:Components{{#translation:}}|Object Slicer Tool]] | ||
Latest revision as of 21:21, 7 April 2025
Component image 
Object Slicer Tool component as seen in the Scene Inspector

See Object Slicer Tool.
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. |
_equipLink
|
direct LinkTarget`1<ITool> | This is Internal, and is used by the engine to retrieve the component this field is a part of. It cannot be assigned to. |
TipReference
|
Slot | The slot to use as the tool's tip, instead of the component's slot. |
BlockGripEquip
|
Bool | Whether to prevent legacy double grip equipping from equipping this tooltip. |
BlockRemoteEquip
|
Bool | Whether to prevent equipping by clicking via laser |
EquipName
|
String | The name of the tool in the context menu when equipping via context menu. |
_overrideActiveTool
|
InteractionHandler | The interaction handler to use instead of this tool as an interaction handler. |
_gripPosesGenerated
|
Bool | Whether the Grip Pose Reference components and slots have been generated for this tool. |
ApplyToObjectRoot
|
Bool | Whether the slicing material effect should be applied to the nearest object root. |
EdgeColor
|
ColorX | what the edge color for new generated slice materials should be. |
EdgeStart
|
Float | The start of the range of the edge color from the slicer. |
EdgeEnd
|
Float | The end of the range of the edge color from the slicer. |
_slicers
|
list of GenericSlicer | The list of slicers this tool has generated and/or is controlling. |
_sliceMaterials
|
list of PBS_Slice | The list of slice materials this tool has generated and/or is controlling. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
CreateSlicer:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the create slicer button is touched. |
ClearSetup:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the clear setup button is touched. |
Usage
See Object Slicer Tool.
Examples
See Object Slicer Tool.