CameraBase

class guerilla.CameraBase

Bases: guerilla.TargetPrimitive

This class is a base for all viewing cameras

CamType

The camera type, only for system cameras

Type:types.string
CameraParams

An invalidation message for any of the camera position, size and rendering attribute

Type:None
Far

Far clipping plane distance

Type:types.float
Fov

The camera field of view angle, in degrees

Type:types.float
FrameMode

The display mode for the camera gate frame, “none”, “wireframe” or “filled”

Type:types.enum
FrameOpacity

RW The camera gate frame opacity

Type:types.float{min=0,
FrameRatio

The camera frame ratio

Type:types.float
Icon

The camera icon

Type:types.string
Near

Near clipping plane distance

Type:types.float
OrthoScale

Scale factor for an ortographic camera

Type:types.float
Perspective

True if the camera is a perspective camera, false if the camera is orthographic

Type:types.bool
RenderFov

The actual camera field of view angle used for rendering, in degrees

Type:types.float
RenderMode

The camera rendering mode, “wireframe”, “filled”

Type:types.enum
RenderName

The name of the camera used in place of $e in layers

Type:types.string
RenderPassCamera

A connection plug to the Pass nodes (such as RenderPasses)

Type:None
evalfrustum()

Evaluate the camera frustum vertices in world space

Evaluate the camera frustum as an array of vertices, in world space,

corresponding to { {left,bottom,near}, {right,bottom,near}, {left,top,near}, {right,top,near}, {left,bottom,far}, {right,bottom,far}, {left,top,far}, {right,top,far} }

rtype:table