igor::iCameraComponent Struct Reference

#include <iComponents.h>

Public Attributes

iaRectangled _viewport = {0.0, 0.0, 1.0, 1.0}
 
iProjectionType _projection = iProjectionType::Perspective
 
float64 _fieldOfView = 45.0
 
float64 _clipNear = 1.0
 
float64 _clipFar = 10000.0
 
bool _clearColorActive = true
 
bool _clearDepthActive = true
 
iaColor4f _clearColor = iaColor4f::gray
 
float64 _clearDepth = 1.0
 
float64 _leftOrtho = -1.0
 
float64 _rightOrtho = 1.0
 
float64 _topOrtho = 1.0
 
float64 _bottomOrtho = -1.0
 
int32 _zIndex = 0
 

Member Data Documentation

◆ _bottomOrtho

float64 igor::iCameraComponent::_bottomOrtho = -1.0

bottom value used for orthogonal projection

◆ _clearColor

iaColor4f igor::iCameraComponent::_clearColor = iaColor4f::gray

the clear color

◆ _clearColorActive

bool igor::iCameraComponent::_clearColorActive = true

if true clear the color buffer

◆ _clearDepth

float64 igor::iCameraComponent::_clearDepth = 1.0

clear depth value

◆ _clearDepthActive

bool igor::iCameraComponent::_clearDepthActive = true

if true clear the depth buffer

◆ _clipFar

float64 igor::iCameraComponent::_clipFar = 10000.0

far clip plane

◆ _clipNear

float64 igor::iCameraComponent::_clipNear = 1.0

near clip plane

◆ _fieldOfView

float64 igor::iCameraComponent::_fieldOfView = 45.0

field of view

◆ _leftOrtho

float64 igor::iCameraComponent::_leftOrtho = -1.0

left value used for orthogonal projection

◆ _projection

iProjectionType igor::iCameraComponent::_projection = iProjectionType::Perspective

projection type

◆ _rightOrtho

float64 igor::iCameraComponent::_rightOrtho = 1.0

right value used for orthogonal projection

◆ _topOrtho

float64 igor::iCameraComponent::_topOrtho = 1.0

top value used for orthogonal projection

◆ _viewport

iaRectangled igor::iCameraComponent::_viewport = {0.0, 0.0, 1.0, 1.0}

viewport

◆ _zIndex

int32 igor::iCameraComponent::_zIndex = 0

z index aka order in which cameras will be rendered


The documentation for this struct was generated from the following file: