Camera

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

MouseLocalPosition
vec2 MouseLocalPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
MouseWorldPosition
vec2 MouseWorldPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
Projection
mat4 Projection()
Undocumented in source. Be warned that the author may not have intended to support it.
ScreenToWorld
vec2 ScreenToWorld(float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
UpdateResolution
void UpdateResolution()
Undocumented in source. Be warned that the author may not have intended to support it.
View
mat4 View()
Undocumented in source. Be warned that the author may not have intended to support it.
bounds
recti bounds()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

center
vec2i center;
Undocumented in source.
projection
mat4 projection;
Undocumented in source.
realRect
recti realRect;
Undocumented in source.
rect
recti rect;
Undocumented in source.
size
float size;
Undocumented in source.

Inherited Members

From Component

_entity
e.Entity _entity;
Undocumented in source.
entity
e.Entity entity [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
transform
t.Transform transform [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind(e.Entity entity)
Undocumented in source. Be warned that the author may not have intended to support it.
Cast
T Cast()
Undocumented in source. Be warned that the author may not have intended to support it.
CastType
void* CastType(TypeInfo targetType)
Undocumented in source. Be warned that the author may not have intended to support it.
Cast
auto Cast()
Undocumented in source. Be warned that the author may not have intended to support it.
Cast
auto Cast()
Undocumented in source. Be warned that the author may not have intended to support it.
OnComponentAdd
void OnComponentAdd()
Undocumented in source. Be warned that the author may not have intended to support it.
Awake
void Awake()
Undocumented in source. Be warned that the author may not have intended to support it.
Start
void Start()
Undocumented in source. Be warned that the author may not have intended to support it.
Update
void Update()
Undocumented in source. Be warned that the author may not have intended to support it.
LateUpdate
void LateUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
OnMessage
void OnMessage(string op, void* arg)
Undocumented in source. Be warned that the author may not have intended to support it.
hasUpdate
bool hasUpdate [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasStart
bool hasStart [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasLateUpdate
bool hasLateUpdate [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta