Component:MaterialTool: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|Name=Material Tool
|Name=Material Tool
}}
}}
{{stub}}
See [[Material Tool]].


== Usage ==
== Usage ==
{{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}}
|_orbSlot|Slot|
|_orbSlot|Slot| The slot to store the material orb when an orb is placed into the tool or picked from an object.
|ReplacementMode|AssetToolReplacementMode|
|ReplacementMode|AssetToolReplacementMode| How to replace materials using the tool.
|AreaRadius|Float|
|AreaRadius|Float| The radius to use when <code>ReplacementMode</code> is set to Area.
|_areaIndicator|Slot|
|_areaIndicator|Slot| The slot that is the root of the area indicator visual.
|_areaIndicatorRadius|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv11=true|
|_areaIndicatorRadius|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv11=true| The area indicator's radius field.
|_areaIndicatorOffset|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv12=true|
|_areaIndicatorOffset|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv12=true| The area indicator's offset field.
|_areaIndicatorActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv13=true|
|_areaIndicatorActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv13=true| The area indicator's active field, used to disable the visual when <code>ReplacementMode</code> is not set to Area.
|_knobControlActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv14=true|
|_knobControlActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv14=true| The active field of the knob control visual/control.
}}
}}


== Behavior ==
== Usage ==
See [[Material Tool]].


== Examples ==
== Examples ==
See [[Material Tool]].


== See Also ==
== See Also ==
* [[Material Tool]]
* [[Tools]]


[[Category:Components:Tools{{#translation:}}|Material Tool]]
[[Category:Components:Tools{{#translation:}}|Material Tool]]
[[Category:Components{{#translation:}}|Material Tool]]
[[Category:Components{{#translation:}}|Material Tool]]
[[Category:ComponentStubs]]

Latest revision as of 19:39, 22 December 2024

Component image 
Material Tool component as seen in the Scene Inspector

See Material Tool.

Usage

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.
_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.
_orbSlot Slot The slot to store the material orb when an orb is placed into the tool or picked from an object.
ReplacementMode AssetToolReplacementMode How to replace materials using the tool.
AreaRadius Float The radius to use when ReplacementMode is set to Area.
_areaIndicator Slot The slot that is the root of the area indicator visual.
_areaIndicatorRadius field drive of Float The area indicator's radius field.
_areaIndicatorOffset field drive of Float3 The area indicator's offset field.
_areaIndicatorActive field drive of Bool The area indicator's active field, used to disable the visual when ReplacementMode is not set to Area.
_knobControlActive field drive of Bool The active field of the knob control visual/control.

Usage

See Material Tool.

Examples

See Material Tool.

See Also