summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMel Collins <mel@raumkraut.net>2018-03-30 19:15:38 +0200
committerMel Collins <mel@raumkraut.net>2018-03-30 19:15:38 +0200
commitc05d12384a958d7b23a58a6977725e4f441f120c (patch)
treee480b3c95f20937fd3374fc52e3aed8843acaee4
parentc2c82a6ea27baf4faa3cb21f460a3f7814073d0d (diff)
[DOCS] Some content for InterpolatedCamera
-rw-r--r--doc/classes/InterpolatedCamera.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/InterpolatedCamera.xml b/doc/classes/InterpolatedCamera.xml
index 9ee06b9d4f..b4047f450d 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.1">
<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>