i6engine  1.0
api/components/CameraComponent.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  i6e::api::CameraComponent
 Attaches a camera to an object. The Camera will follow the object For creating a CameraComponent, these keys are possible:

Name Required Type Description Public
pos yes Vec3 relative position of camera to SceneNode yes
lookAt yes Vec3 absolute look at position in the world yes
nearclip yes double near clipping distance yes
aspect no double aspect ration of the camera yes
viewport no bool defines whether this camera has a viewport or not yes
zOrder *) int relative position on the screen depending on other viewports (has to be unique), *) required when viewport true yes
vp_left *) double left startpoint of the viewport, value between 0 and 1, *) required when viewport true yes
vp_top *) double uppper startpoint of the viewport, value between 0 and 1, *) required when viewport true yes
vp_width *) double width of the viewport, value between 0 and 1, *) required when viewport true yes
vp_height *) double height of the viewport, value between 0 and 1, *) required when viewport true yes
vp_red *) double red part of the viewports background colour, *) required when viewport true yes
vp_green *) double green part of the viewports background colour, *) required when viewport true yes
vp_blue *) double blue part of the viewports background colour, *) required when viewport true yes
vp_alpha *) double alpha part of the viewports background colour, *) required when viewport true yes
More...
 

Namespaces

 i6e
 
 i6e::api