Thrive
Public Attributes | List of all members
thrive::OgreCameraComponent::Properties Struct Reference

Properties. More...

#include <camera_system.h>

Inheritance diagram for thrive::OgreCameraComponent::Properties:
thrive::Touchable

Public Attributes

Ogre::Real farClipDistance = 10000.0f
 Far clip distance.
 
Ogre::Degree fovY = Ogre::Degree{45.0f}
 The y-dimension field of view.
 
Ogre::Real nearClipDistance = 100.0f
 Near clip distance.
 
Ogre::PolygonMode polygonMode = Ogre::PM_SOLID
 The level of rendering detail.
 
Ogre::Vector3 offset = Ogre::Vector3(0,0,10)
 Camera offset Note that this is not automatically taken into account.
 
bool orthographicalMode = false
 Whether the camera is using orthographical projection or perspective. More...
 

Additional Inherited Members

- Public Member Functions inherited from thrive::Touchable
bool hasChanges () const
 Whether this Touchable has unapplied changes.
 
void touch ()
 Marks the Touchable as changed.
 
void untouch ()
 Marks all changes as applied.
 
- Static Public Member Functions inherited from thrive::Touchable
static luabind::scope luaBindings ()
 Lua bindings. More...
 

Detailed Description

Properties.

Member Data Documentation

bool thrive::OgreCameraComponent::Properties::orthographicalMode = false

Whether the camera is using orthographical projection or perspective.

For orthographical mode the FOV is used to determine screen dimensions in world coordinates


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