UECamera

camera component - handles rendering the world through its perspective

Members

Functions

render
void render()

render all renderables through the perspective of this camera TODO: note: needs to be moved aways

screenToRay
ray screenToRay(vec2 screenPos)

Properties

projectionLook
auto projectionLook [@property getter]

return projection matrix multiplied by look matrix

Variables

clearBitColor
bool clearBitColor;
Undocumented in source.
clearBitDepth
bool clearBitDepth;
Undocumented in source.
clearColor
vec4 clearColor;
Undocumented in source.
clipFar
float clipFar;
Undocumented in source.
clipNear
float clipNear;
Undocumented in source.
fieldOfView
float fieldOfView;
Undocumented in source.
isOrthographic
bool isOrthographic;
Undocumented in source.
orthoSize
float orthoSize;
Undocumented in source.
viewport
UERect viewport;
Undocumented in source.
visibleLayers
int visibleLayers;
Undocumented in source.

Inherited Members

From UEComponent

onUpdate
void onUpdate()
onCreate
void onCreate()
onDestroy
void onDestroy()
onCollision
void onCollision(UEComponent )
enabled
bool enabled [@property getter]
enabled
bool enabled [@property setter]
entity
UEEntity entity [@property getter]
sceneNode
UESceneNode sceneNode [@property getter]
registerEvent
void registerEvent(UEEventType _type, UEEventCallback _callback)

helper

getMenuItems
void getMenuItems(EditorMenuItem[] items)
setEntity
void setEntity(UEEntity _entity)

Meta