InterpolatedCamera

Camera which moves toward another node.

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.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

getSpeed
double getSpeed()
getTargetPath
NodePath getTargetPath()
isInterpolationEnabled
bool isInterpolationEnabled()
opAssign
InterpolatedCamera opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(InterpolatedCamera other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
setInterpolationEnabled
void setInterpolationEnabled(bool target_path)
setSpeed
void setSpeed(double speed)
setTarget
void setTarget(GodotObject target)

Sets the node to move toward and orient with.

setTargetPath
void setTargetPath(NodePathArg0 target_path)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

enabled
bool enabled [@property getter]
bool enabled [@property setter]

If true and a target is set, the camera will move automatically.

speed
double speed [@property getter]
double speed [@property setter]

How quickly the camera moves toward its target. Higher values will result in tighter camera motion.

target
NodePath target [@property getter]
NodePath target [@property setter]

The target's NodePath.

Static functions

_new
InterpolatedCamera _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta