NAP
Public Attributes | List of all members
OrthoCameraProperties Struct Reference

#include <orthocameracomponent.h>

Public Attributes

EOrthoCameraMode mMode = EOrthoCameraMode::PixelSpace
 Property: 'Mode' defaults to pixel space. More...
 
float mNearClippingPlane = 1.0f
 Property: 'NearClippingPlane' camera near clipping plane. More...
 
float mFarClippingPlane = 1000.0f
 Property: 'FarClippingPlane' camera far clipping plane. More...
 
float mLeftPlane = 0.0f
 Property: 'LeftPlane' used when mode is CorrectAspectRatio or Custom. More...
 
float mRightPlane = 100.0f
 Property: 'RightPlane' used when mode is CorrectAspectRatio or Custom. More...
 
float mTopPlane = 100.0f
 Property: 'TopPlane' used when mode is CorrectAspectRatio or Custom. More...
 
float mBottomPlane = 0.0f
 Property: 'TopPlane' used when mode is CorrectAspectRatio or Custom. More...
 
math::Rect mClipRect = { {0.0f, 0.0f}, {1.0f, 1.0f} }
 Property: 'ClipRect' normalized rectangle used to clip/crop the camera view. More...
 

Description

Orthographic camera properties

Collaboration diagram for OrthoCameraProperties:
[legend]

Member Data Documentation

◆ mBottomPlane

float mBottomPlane = 0.0f

Property: 'TopPlane' used when mode is CorrectAspectRatio or Custom.

◆ mClipRect

math::Rect mClipRect = { {0.0f, 0.0f}, {1.0f, 1.0f} }

Property: 'ClipRect' normalized rectangle used to clip/crop the camera view.

◆ mFarClippingPlane

float mFarClippingPlane = 1000.0f

Property: 'FarClippingPlane' camera far clipping plane.

◆ mLeftPlane

float mLeftPlane = 0.0f

Property: 'LeftPlane' used when mode is CorrectAspectRatio or Custom.

◆ mMode

Property: 'Mode' defaults to pixel space.

◆ mNearClippingPlane

float mNearClippingPlane = 1.0f

Property: 'NearClippingPlane' camera near clipping plane.

◆ mRightPlane

float mRightPlane = 100.0f

Property: 'RightPlane' used when mode is CorrectAspectRatio or Custom.

◆ mTopPlane

float mTopPlane = 100.0f

Property: 'TopPlane' used when mode is CorrectAspectRatio or Custom.