CameraOrbit

controls a camera by making it orbit an entity

Constructors

this
this(Entity target, float speed)
Undocumented in source.

Members

Functions

set_xz_angle
void set_xz_angle(float val)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()

based on https://github.com/raysan5/raylib/blob/6fa6757a8bf90d4b2fd0ce82dace7c7223635efa/src/camera.h#L400

Mixins

__anonymous
mixin Reflect
Undocumented in source.

Variables

pause
bool pause;
Undocumented in source.
speed
float speed;

the orbit speed, in radians per second

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