reng v0.5.2 (2022-02-23T23:26:22Z)
Dub
Repo
CameraFreeLook
re
ng
camera
cam3d
free-look camera
class
CameraFreeLook :
CameraFollow3D
{
import
re
.
input
:
Keys
,
MouseButton
,
Input
;
;
import
re
.
input
:
Keys
,
MouseButton
,
Input
;
;
import
re
.
input
:
Keys
,
MouseButton
,
Input
;
;
mixin
Reflect
;
float
look_sensitivity
;
float
zoom_sensitivity
;
float
smooth_zoom_sensitivity
;
protected
enum
free_min_clamp
;
protected
enum
free_max_clamp
;
protected
enum
free_dist_min_clamp
;
protected
enum
free_dist_max_clamp
;
protected
enum
free_pan_divider
;
this
(Entity target);
void
update
();
}
Constructors
this
this
(Entity target)
Undocumented in source.
Members
Functions
update
void
update
()
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
free_dist_max_clamp
enum
free_dist_max_clamp
;
Undocumented in source.
free_dist_min_clamp
enum
free_dist_min_clamp
;
Undocumented in source.
free_max_clamp
enum
free_max_clamp
;
Undocumented in source.
free_min_clamp
enum
free_min_clamp
;
Undocumented in source.
free_pan_divider
enum
free_pan_divider
;
Undocumented in source.
Mixins
__anonymous
mixin
Reflect
Undocumented in source.
Variables
look_sensitivity
float
look_sensitivity
;
Undocumented in source.
smooth_zoom_sensitivity
float
smooth_zoom_sensitivity
;
Undocumented in source.
zoom_sensitivity
float
zoom_sensitivity
;
Undocumented in source.
Inherited Members
From CameraFollow3D
__anonymous
mixin
Reflect
Undocumented in source.
cam
SceneCamera3D
cam
;
Undocumented in source.
target
Entity
target
;
the target entity
third_person_dist
enum
third_person_dist
;
Undocumented in source.
_angle
Vector2
_angle
;
Undocumented in source.
_target_dist
float
_target_dist
;
Undocumented in source.
setup
void
setup
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
re
ng
camera
cam3d
classes
CameraFollow3D
CameraFreeLook
CameraOrbit
CameraThirdPerson
SceneCamera3D
free-look camera