Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
InterpolatedCamera¶
Inherits: Camera < Spatial < Node < Object
Deprecated. Camera which moves toward another node.
Descripción¶
Deprecated (will be removed in Godot 4.0). InterpolatedCamera is a Camera which smoothly moves to match a target node's position and rotation.
If it is not enabled or does not have a valid target set, InterpolatedCamera acts like a normal Camera.
Propiedades¶
|
||
|
||
|
Métodos¶
void |
set_target ( Object target ) |
Descripciones de Propiedades¶
bool enabled
Default |
|
Setter |
set_interpolation_enabled(value) |
Getter |
is_interpolation_enabled() |
If true
, and a target is set, the camera will move automatically.
float speed
Default |
|
Setter |
set_speed(value) |
Getter |
get_speed() |
How quickly the camera moves toward its target. Higher values will result in tighter camera motion.
NodePath target
Default |
|
Setter |
set_target_path(value) |
Getter |
get_target_path() |
The target's NodePath.
Descripciones de Métodos¶
void set_target ( Object target )
Sets the node to move toward and orient with.