You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
For the time being we don't support writing a description for those, preferring
having all details in the method's description.
Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
(cherry picked from commit 7adf4cc9b5)
35 lines
1.4 KiB
XML
35 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="InterpolatedCamera" inherits="Camera" version="3.4">
|
|
<brief_description>
|
|
[i]Deprecated.[/i] Camera which moves toward another node.
|
|
</brief_description>
|
|
<description>
|
|
[i]Deprecated (will be removed in Godot 4.0).[/i] 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>
|
|
<methods>
|
|
<method name="set_target">
|
|
<return type="void" />
|
|
<argument index="0" name="target" type="Object" />
|
|
<description>
|
|
Sets the node to move toward and orient with.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="enabled" type="bool" setter="set_interpolation_enabled" getter="is_interpolation_enabled" default="false">
|
|
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" default="1.0">
|
|
How quickly the camera moves toward its target. Higher values will result in tighter camera motion.
|
|
</member>
|
|
<member name="target" type="NodePath" setter="set_target_path" getter="get_target_path" default="NodePath("")">
|
|
The target's [NodePath].
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|