Automated: create new component page |
add sync delegate desc |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|Name=Mesh Tool | |Name=Mesh Tool | ||
}} | }} | ||
See [[Mesh 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}} | ||
|_orbSlot|Slot| | |_orbSlot|Slot| The place to put a grabbed mesh orb. | ||
}} | |||
== 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| Can be used as a function to filter snappers so they accept only specific snappers. In this case, it will only accept mesh orbs. | |||
|EditMesh:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the edit mesh button is touched. | |||
}} | }} | ||
== | == Usage == | ||
See [[Mesh Tool]]. | |||
== Examples == | == Examples == | ||
See [[Mesh Tool]]. | |||
== See Also == | == See Also == | ||
* [[Mesh Tool]] | |||
[[Category:Components:Tools{{#translation:}}|Mesh Tool]] | [[Category:Components:Tools{{#translation:}}|Mesh Tool]] | ||
[[Category:Components{{#translation:}}|Mesh Tool]] | [[Category:Components{{#translation:}}|Mesh Tool]] | ||
Latest revision as of 20:45, 7 April 2025
Component image 
Mesh Tool component as seen in the Scene Inspector

See Mesh 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. |
_orbSlot
|
Slot | The place to put a grabbed mesh orb. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
SnapFilter:Func`3<Snapper, SnapTarget, Bool>
|
Func`3<Snapper, SnapTarget, Bool> | ✓ | Can be used as a function to filter snappers so they accept only specific snappers. In this case, it will only accept mesh orbs. |
EditMesh:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the edit mesh button is touched. |
Usage
See Mesh Tool.
Examples
See Mesh Tool.