add info |
989onan bot (talk | contribs) Automated: update SyncDelegates |
||
Line 22: | Line 22: | ||
|_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. | |_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| The active field of the knob control visual/control. | |_knobControlActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv14=true| The active field of the knob control visual/control. | ||
}} | |||
== Sync Delegates == | |||
{{Table ComponentTriggers | |||
|SnapFilter[[Type:Func`3|Func`3]]<[[Component:Snapper|Snapper]], [[Component:SnapTarget|SnapTarget]], [[Type:Bool|Bool]]>|[[Type:Func`3|Func`3]]<[[Component:Snapper|Snapper]], [[Component:SnapTarget|SnapTarget]], [[Type:Bool|Bool]]>|true| | |||
|EditMaterial[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
|CreateCopy[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
|CreateMaterial[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
|ConvertAllMaterials[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Slot|Slot]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Slot|Slot]]>|true| | |||
|ConvertMaterial[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
|RunConversion[[Type:Action`2|Action`2]]<[[Component:DevCreateNewForm|DevCreateNewForm]], [[Type:Slot|Slot]]>|[[Type:Action`2|Action`2]]<[[Component:DevCreateNewForm|DevCreateNewForm]], [[Type:Slot|Slot]]>|true| | |||
|CanKnobControlInteract[[Type:GrabCheck|GrabCheck]]|[[Type:GrabCheck|GrabCheck]]|true| | |||
}} | }} | ||
Revision as of 06:03, 17 March 2025
Component image 
Material Tool component as seen in the Scene Inspector

See Material Tool.
Usage
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. |
_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. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
SnapFilterFunc`3<Snapper, SnapTarget, Bool>
|
Func`3<Snapper, SnapTarget, Bool> | ✓ | |
EditMaterialButtonEventHandler
|
ButtonEventHandler | ✓ | |
CreateCopyButtonEventHandler
|
ButtonEventHandler | ✓ | |
CreateMaterialButtonEventHandler
|
ButtonEventHandler | ✓ | |
ConvertAllMaterialsButtonEventHandler`1<Slot>
|
ButtonEventHandler`1<Slot> | ✓ | |
ConvertMaterialButtonEventHandler
|
ButtonEventHandler | ✓ | |
RunConversionAction`2<DevCreateNewForm, Slot>
|
Action`2<DevCreateNewForm, Slot> | ✓ | |
CanKnobControlInteractGrabCheck
|
GrabCheck | ✓ |
Usage
See Material Tool.
Examples
See Material Tool.