add templates |
add info |
||
Line 3: | Line 3: | ||
|Name=Camera Control Tool | |Name=Camera Control Tool | ||
}} | }} | ||
The '''CameraControlTool''' component makes a tool that changes the mode of a [[Component:DroneCamera]] when it is fired at one of the colliders that is part of that component's hiearchy. | |||
== | == 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}} | ||
|Mode|'''[[#CameraMode|CameraMode]]'''|TypeAdv7=true| | |Mode|'''[[#CameraMode|CameraMode]]'''|TypeAdv7=true| The mode to switch a [[Component:DroneCamera]] to when firing at it with Primary. | ||
|_material|{{RootFieldType|DriveRef`1|[[FresnelMaterial|FresnelMaterial]]}}|TypeAdv8=true| | |_material|{{RootFieldType|DriveRef`1|[[FresnelMaterial|FresnelMaterial]]}}|TypeAdv8=true| The material to use and update the color of for the tool's cone visual. | ||
}} | |||
== CameraMode == | |||
{{Table EnumValues | |||
|BiggestGroup|0| Sets the drones values to a Preset so it follows the biggest group of people in the session. | |||
|Timelapse|1| Sets the drones values to a Preset so it does a broad sweeping of the session optimal for timelapses. | |||
|StayBehindMe|2| Sets the drones values to a Preset so it stays behind the user using this tool. | |||
|InFront|3| Sets the drones values to a Preset so it stays in front of the user using this tool. | |||
|Manual|4| Sets the drones values to a Preset so it can be manually positioned and adjusted. | |||
}} | }} | ||
== | == Usage == | ||
== Examples == | == Examples == | ||
Line 27: | Line 36: | ||
[[Category:Components{{#translation:}}|Camera Control Tool]] | [[Category:Components{{#translation:}}|Camera Control Tool]] | ||
[[Category:Components With Nested Enums{{#translation:}}|Camera Control Tool]] | [[Category:Components With Nested Enums{{#translation:}}|Camera Control Tool]] | ||
Revision as of 04:46, 2 January 2025
Component image
The CameraControlTool component makes a tool that changes the mode of a Component:DroneCamera when it is fired at one of the colliders that is part of that component's hiearchy.
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. |
Mode
|
CameraMode | The mode to switch a Component:DroneCamera to when firing at it with Primary. |
_material
|
direct DriveRef`1<FresnelMaterial> | The material to use and update the color of for the tool's cone visual. |
CameraMode
Name | Value | Description |
---|---|---|
BiggestGroup
|
0 | Sets the drones values to a Preset so it follows the biggest group of people in the session. |
Timelapse
|
1 | Sets the drones values to a Preset so it does a broad sweeping of the session optimal for timelapses. |
StayBehindMe
|
2 | Sets the drones values to a Preset so it stays behind the user using this tool. |
InFront
|
3 | Sets the drones values to a Preset so it stays in front of the user using this tool. |
Manual
|
4 | Sets the drones values to a Preset so it can be manually positioned and adjusted. |