dagon v0.11.0-beta1 (2020-10-07T12:26:54Z)
Home
Dub
Repo
FirstPersonViewComponent
dagon
ui
firstpersonview
Undocumented in source.
class
FirstPersonViewComponent :
EntityComponent
{
int
prevMouseX
;
int
prevMouseY
;
float
pitch
;
float
turn
;
float
mouseSensibility
;
bool
active
;
this
(EventManager em, Entity e);
void
reset
();
void
update
(Time time);
}
Constructors
this
this
(EventManager em, Entity e)
Undocumented in source.
Members
Functions
reset
void
reset
()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void
update
(Time time)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
active
bool
active
;
Undocumented in source.
mouseSensibility
float
mouseSensibility
;
Undocumented in source.
pitch
float
pitch
;
Undocumented in source.
prevMouseX
int
prevMouseX
;
Undocumented in source.
prevMouseY
int
prevMouseY
;
Undocumented in source.
turn
float
turn
;
Undocumented in source.
Inherited Members
From EntityComponent
entity
Entity
entity
;
Undocumented in source.
update
void
update
(Time t)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void
render
(GraphicsState* state)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
dagon
ui
firstpersonview
classes
FirstPersonViewComponent