m Nytra moved page TooltipSimulator (Component) to Component:ToolSimulator: Misspelled title |
Automated tool sniped this, standardizing |
||
Line 1: | Line 1: | ||
{{Infobox Component | |||
|Image=ToolSimulatorComponent.png | |||
|Name=Tool Simulator | |||
}} | |||
The ToolSimulator [[Component]] allows a tool to be used without needing it to be equipped by a [[User]]. You can make use of a [[Tools|Tool's]] primary and secondary actions but not context menu actions. | The ToolSimulator [[Component]] allows a tool to be used without needing it to be equipped by a [[User]]. You can make use of a [[Tools|Tool's]] primary and secondary actions but not context menu actions. | ||
Line 4: | Line 8: | ||
For example, providing a reference to a [[Material Tool]] and then making use of the Primary property will allow you to apply [[Material|materials]] to objects in front of the tool. | For example, providing a reference to a [[Material Tool]] and then making use of the Primary property will allow you to apply [[Material|materials]] to objects in front of the tool. | ||
== Fields == | |||
{{Table ComponentFields | |||
}} | |||
== Usage == | |||
== Examples == | |||
== See Also == | |||
[[Category:ComponentStubs]] |
Latest revision as of 18:25, 17 December 2024
Component image
The ToolSimulator Component allows a tool to be used without needing it to be equipped by a User. You can make use of a Tool's primary and secondary actions but not context menu actions.
You need to provide a reference to the tool component that you want to simulate, and also a reference to a simulating user. You can then make use of the Primary, Secondary, Strength and Axis properties.
For example, providing a reference to a Material Tool and then making use of the Primary property will allow you to apply materials to objects in front of the 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. |