reng ~master (2022-11-13T10:09:03Z)
Dub
Repo
CameraFollow3D
re
ng
camera
cam3d
Undocumented in source.
abstract
class
CameraFollow3D : Component, Updatable {
mixin
Reflect
;
protected
SceneCamera3D
cam
;
Entity
target
;
Vector3
target_offset
;
protected
enum
third_person_dist
;
protected
Vector2
_angle
;
protected
float
_target_dist
;
this
(Entity target, Vector3 target_offset);
void
setup
();
}
Constructors
this
this
(Entity target, Vector3 target_offset)
Undocumented in source.
Members
Functions
setup
void
setup
()
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
third_person_dist
enum
third_person_dist
;
Undocumented in source.
Mixins
__anonymous
mixin
Reflect
Undocumented in source.
Variables
_angle
Vector2
_angle
;
Undocumented in source.
_target_dist
float
_target_dist
;
Undocumented in source.
cam
SceneCamera3D
cam
;
Undocumented in source.
target
Entity
target
;
the target entity
target_offset
Vector3
target_offset
;
Undocumented in source.
Meta
Source
See Implementation
re
ng
camera
cam3d
classes
CameraFollow3D
CameraFreeLook
CameraOrbit
CameraThirdPerson
SceneCamera3D