diff options
| author | Mel Collins | 2018-03-30 19:15:38 +0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-04-29 14:27:15 +0200 |
| commit | 19a010cc3ada967a2e3186416b5d842362ba469c (patch) | |
| tree | 6d7cd011adc6d569d4ab7fb5911fb5be0aaa3e8b /doc/classes/InterpolatedCamera.xml | |
| parent | 307fcb2713657e2e521ed08801f7f41484f5c9d1 (diff) | |
| download | godot-19a010cc3ada967a2e3186416b5d842362ba469c.tar.gz godot-19a010cc3ada967a2e3186416b5d842362ba469c.tar.zst godot-19a010cc3ada967a2e3186416b5d842362ba469c.zip | |
[DOCS] Some content for InterpolatedCamera
(cherry picked from commit c05d12384a958d7b23a58a6977725e4f441f120c)
Diffstat (limited to '')
| -rw-r--r-- | doc/classes/InterpolatedCamera.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/InterpolatedCamera.xml b/doc/classes/InterpolatedCamera.xml index 06979ca80..1a6556637 100644 --- a/doc/classes/InterpolatedCamera.xml +++ b/doc/classes/InterpolatedCamera.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="InterpolatedCamera" inherits="Camera" category="Core" version="3.0.2"> <brief_description> + Camera which moves toward another node </brief_description> <description> + InterpolatedCamera is a [Camera] which smoothly moves to match a target node's position and rotation. + If it is not [member enabled], or does not have a valid target set, InterpolatedCamera acts like a normal Camera. </description> <tutorials> </tutorials> @@ -15,15 +18,19 @@ <argument index="0" name="target" type="Object"> </argument> <description> + Set the node to move toward. </description> </method> </methods> <members> <member name="enabled" type="bool" setter="set_interpolation_enabled" getter="is_interpolation_enabled"> + If [code]true[/code], and a target is set, the camera will move automatically. </member> <member name="speed" type="float" setter="set_speed" getter="get_speed"> + How quickly the camera moves. </member> <member name="target" type="NodePath" setter="set_target_path" getter="get_target_path"> + The target's [NodePath]. </member> </members> <constants> |
