template |
huh the only tool without a dedicated page. anyways info added |
||
Line 3: | Line 3: | ||
|Name=Spot Light Tool | |Name=Spot Light Tool | ||
}} | }} | ||
The '''SpotLightTool''' component is a tooltip that when pressed primary with turns on and off a spotlight. This tool is best described as a flashlight. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|_equipLink|{{RootFieldType|LinkTarget`1|[[Type:ITool|ITool]]}}|TypeAdv0=true| {{Template:ITool _equipLink}} | |_equipLink|{{RootFieldType|LinkTarget`1|[[Type:ITool|ITool]]}}|TypeAdv0=true| {{Template:ITool _equipLink}} | ||
Line 14: | Line 14: | ||
|_overrideActiveTool|'''[[Component:InteractionHandler|InteractionHandler]]'''|TypeAdv5=true| {{Template:ITool _overrideActiveTool}} | |_overrideActiveTool|'''[[Component:InteractionHandler|InteractionHandler]]'''|TypeAdv5=true| {{Template:ITool _overrideActiveTool}} | ||
|_gripPosesGenerated|Bool| {{Template:ITool _gripPosesGenerated}} | |_gripPosesGenerated|Bool| {{Template:ITool _gripPosesGenerated}} | ||
|Material|'''[[PBS_Metallic|PBS_Metallic]]'''|TypeAdv7=true| | |Material|'''[[PBS_Metallic|PBS_Metallic]]'''|TypeAdv7=true| The material for the default cone visual. | ||
|Light|'''[[Component:Light|Light]]'''|TypeAdv8=true| | |Light|'''[[Component:Light|Light]]'''|TypeAdv8=true| The light attached to this tool that turns on and off | ||
}} | }} | ||
== See Also == | == See Also == | ||
Line 26: | Line 22: | ||
[[Category:Components:Tools{{#translation:}}|Spot Light Tool]] | [[Category:Components:Tools{{#translation:}}|Spot Light Tool]] | ||
[[Category:Components{{#translation:}}|Spot Light Tool]] | [[Category:Components{{#translation:}}|Spot Light Tool]] | ||
Revision as of 23:18, 2 February 2025
Component image 
Spot Light Tool component as seen in the Scene Inspector

The SpotLightTool component is a tooltip that when pressed primary with turns on and off a spotlight. This tool is best described as a flashlight.
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. |
Material
|
PBS_Metallic | The material for the default cone visual. |
Light
|
Light | The light attached to this tool that turns on and off |