All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
star::CameraComponent Class Reference

#include <CameraComponent.h>

Inheritance diagram for star::CameraComponent:
Inheritance graph
Collaboration diagram for star::CameraComponent:
Collaboration graph

Public Member Functions

 CameraComponent (bool bCanZoom=false)
virtual ~CameraComponent (void)
virtual void Update (const Context &context)
virtual void Draw ()
void SetFieldOfView (float fov)
void SetOrthoSize (float size)
void SetNearClippingPlane (float nearPlane)
void SetFarClippingPlane (float farPlane)
void SetActive ()
bool IsActive () const
void Activate ()
void Deactivate ()
const mat4x4 & GetView () const
const mat4x4 & GetProjection () const
const mat4x4 & GetViewInverse () const
mat4x4 GetProjectionViewInvesre () const
- Public Member Functions inherited from star::BaseComponent
 BaseComponent (void)
 BaseComponent (Object *parent)
virtual ~BaseComponent (void)
void Initialize ()
bool IsInitialized () const
ObjectGetParent () const
void SetParent (Object *parent)
BaseSceneGetGameScene () const
TransformComponentGetTransform () const

Protected Member Functions

virtual void InitializeComponent ()

Additional Inherited Members

- Protected Attributes inherited from star::BaseComponent
bool m_bInitialized

Constructor & Destructor Documentation

star::CameraComponent::CameraComponent ( bool  bCanZoom = false)
star::CameraComponent::~CameraComponent ( void  )

Member Function Documentation

void star::CameraComponent::Activate ( )
void star::CameraComponent::Deactivate ( )
void star::CameraComponent::Draw ( )

Implements star::BaseComponent.

const mat4x4 & star::CameraComponent::GetProjection ( ) const
mat4x4 star::CameraComponent::GetProjectionViewInvesre ( ) const
const mat4x4 & star::CameraComponent::GetView ( ) const
const mat4x4 & star::CameraComponent::GetViewInverse ( ) const
void star::CameraComponent::InitializeComponent ( )

Implements star::BaseComponent.

bool star::CameraComponent::IsActive ( ) const
void star::CameraComponent::SetActive ( )
void star::CameraComponent::SetFarClippingPlane ( float  farPlane)
void star::CameraComponent::SetFieldOfView ( float  fov)
void star::CameraComponent::SetNearClippingPlane ( float  nearPlane)
void star::CameraComponent::SetOrthoSize ( float  size)
void star::CameraComponent::Update ( const Context context)

Implements star::BaseComponent.

The documentation for this class was generated from the following files: