Component
Graphics
(NOTE) Represents a viewpoint for rendering.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
Constructor | CameraViewportCog | component | |
GetFrustum | FarPlane | ||
FieldOfView | |||
NearPlane | |||
PerspectiveMode | |||
Size | |||
WorldDirection | |||
WorldTranslation | |||
WorldUp |
Properties
CameraViewportCog : cog
read-only
The object that has a CameraViewport component using this Camera, if any.
var CameraViewportCog : Cog
FarPlane : real
The far clipping plane, always positive and in the view direction.
var FarPlane : Real
FieldOfView : real
The vertical field of view of the Camera, in degrees. Horizontal fov derived from aspect ratio (Hor+).
var FieldOfView : Real
NearPlane : real
The near clipping plane, always positive and in the view direction.
var NearPlane : Real
PerspectiveMode : PerspectiveMode
How the scene is projected on to the view plane.
var PerspectiveMode : PerspectiveMode
Size : real
Size (width and height) of the orthographic projection, in world units.
var Size : Real
WorldDirection : real3
read-only
Direction the Camera is facing, in world space.
var WorldDirection : Real3
WorldTranslation : real3
read-only
Translation of the Camera, in world space.
var WorldTranslation : Real3
WorldUp : real3
read-only
The upright direction of the Camera(perpendicular to facing direction), in world space.
var WorldUp : Real3
Methods
Camera : Void
constructor
Name Type Description function Camera()
GetFrustum : frustum
Creates a frustum using the Camera's settings along with the given aspect ratio. |Name|Type|Description| |---|---|---| |aspect|real| |
function GetFrustum(aspect : Real) : Frustum