Member

Description

camera

Center of projection

center

View reference point

horz_angle

Horizontal viewing angle

vert_angle

Vertical viewing angle

angle_of_vision

The angle of view in degrees.

view_rotation

The rotation angle applied along the direction of viewing (in degrees).

vert_angle

Vertical viewing angle

height

The worldspace height of the viewport.

width

The worldspace width of the viewport.

projections

A value whose meaning is as follows:
Constant

Meaning

VIEW_PARALLEL

The viewport uses a parallel projection (no foreshortening)

VIEW_PERSPECTIVE

The viewport uses a perspective projection (with foreshortening)


view_type

A value whose meaning is as follows:
Constant

Meaning

VIEW_OBLIQUE

The view projects using an oblique projection.

VIEW_NATURAL

The view uses a natural projection

VIEW_X_AXIAL

The view projects such that all lines parallel to the xaxis are horizontal

VIEW_Y_AXIAL

The view projects such that all lines parallel to the yaxis are vertical

VIEW_Z_AXIAL

The view projects such that all lines parallel to the zaxis are horizontal


left_pixel

The leftmost pixel of the view in display coordinates

right_pixel

The rightmost pixel of the view in display coordinates

bottom_pixel

The bottommost pixel of the view in display coordinates

top_pixel

The topmost pixel of the view in display coordinates

view_direction

A vector that points in the direction of the camera

camera_matrix

The transformation matrix which brings you from world space to camera space. This does not include the "perspective transformation".

view_plane_normal

A vector that along with center defines a plane in world space upon which the viewing window is defined

window_xmin

Minimum xcoordinate value of the window boundary in camera space

window_xmax

Maximum xcoordinate value of the window boundary in camera space

window_ymin

Minimum ycoordinate value of the window boundary in camera space

window_ymax

Maximum ycoordinate value of the window boundary in camera space
