Dali 3D User Interface Engine
List of all members | Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
Dali::Internal::SceneGraph::CameraAttachment Class Reference

An attachment for camera objects and their properties. More...

#include <scene-graph-camera-attachment.h>

Inheritance diagram for Dali::Internal::SceneGraph::CameraAttachment:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::SceneGraph::CameraAttachment:
Collaboration graph
[legend]

Classes

struct  FrustumPlanes
 Container for six planes in a view frustum. More...
 
struct  Plane
 Plane equation container for a plane of the view frustum. More...
 

Public Member Functions

virtual void Initialize (SceneController &sceneController, BufferIndex updateBufferIndex)
 Second-phase construction. More...
 
virtual void OnDestroy ()
 Called shortly before destruction. More...
 
virtual void ConnectedToSceneGraph ()
 Called when the parent node is connected to the SceneGraph. More...
 
virtual void DisconnectedFromSceneGraph ()
 Called when the parent node is disconnected from the SceneGraph. More...
 
virtual ~CameraAttachment ()
 Virtual destructor. More...
 
void SetType (Dali::Camera::Type type)
  More...
 
void SetInvertYAxis (bool invertYAxis)
 Set whether the Y Axis is inverted or not. More...
 
void SetProjectionMode (Dali::Camera::ProjectionMode projectionMode)
  More...
 
void SetFieldOfView (float fieldOfView)
  More...
 
void SetAspectRatio (float aspectRatio)
  More...
 
void SetStereoBias (const Vector2 &stereoBias)
  More...
 
void SetLeftClippingPlane (float leftClippingPlane)
  More...
 
void SetRightClippingPlane (float rightClippingPlane)
  More...
 
void SetTopClippingPlane (float topClippingPlane)
  More...
 
void SetBottomClippingPlane (float bottomClippingPlane)
  More...
 
void SetNearClippingPlane (float nearClippingPlane)
  More...
 
void SetFarClippingPlane (float farClippingPlane)
  More...
 
void SetTargetPosition (const Vector3 &targetPosition)
  More...
 
Vector3 GetTargetPosition () const
 Get Camera Target. More...
 
const MatrixGetViewMatrix (BufferIndex bufferIndex) const
 Retrieve the view-matrix; this is double buffered for input handling. More...
 
bool CheckSphereInFrustum (BufferIndex bufferIndex, const Vector3 &origin, float radius)
 Check to see if a sphere lies within the view frustum. More...
 
bool CheckAABBInFrustum (BufferIndex bufferIndex, const Vector3 &origin, const Vector3 &halfExtents)
 Check to see if a bounding box lies within the view frustum. More...
 
const MatrixGetProjectionMatrix (BufferIndex bufferIndex) const
 Retrieve the projection-matrix; this is double buffered for input handling. More...
 
const MatrixGetInverseViewProjectionMatrix (BufferIndex bufferIndex) const
 Retrieve the inverted view-projection-matrix; this is double buffered for input handling. More...
 
const PropertyInputImplGetProjectionMatrix () const
 Retrieve the projection-matrix property querying interface. More...
 
const PropertyInputImplGetViewMatrix () const
 Retrieve the viewMatrix property querying interface. More...
 
virtual void Update (BufferIndex updateBufferIndex, const Node &owningNode, int nodeDirtyFlags)
 Called when the attachment or it's owning node is flagged as dirty during scene graph updates. More...
 
bool ViewMatrixUpdated ()
 
- Public Member Functions inherited from Dali::Internal::SceneGraph::NodeAttachment
virtual ~NodeAttachment ()
 Virtual destructor. More...
 
void SetParent (Node &parent)
 Set the parent of a NodeAttachment. More...
 
NodeGetParent ()
 Retrieve the parent node of a NodeAttachment. More...
 
NodeGetParent () const
 Retrieve the parent node of a NodeAttachment. More...
 

Static Public Member Functions

static CameraAttachmentNew ()
 Construct a new CameraAttachment. More...
 

Public Attributes

Dali::Camera::Type mType
 
Dali::Camera::ProjectionMode mProjectionMode
 
bool mInvertYAxis
 
float mFieldOfView
 
float mAspectRatio
 
float mLeftClippingPlane
 
float mRightClippingPlane
 
float mTopClippingPlane
 
float mBottomClippingPlane
 
float mNearClippingPlane
 
float mFarClippingPlane
 
Vector2 mStereoBias
 
Vector3 mTargetPosition
 
InheritedMatrix mViewMatrix
 The viewMatrix; this is double buffered for input handling. More...
 
InheritedMatrix mProjectionMatrix
 The projectionMatrix; this is double buffered for input handling. More...
 
DoubleBuffered< FrustumPlanesmFrustum
 Clipping frustum; double buffered for input handling. More...
 
DoubleBuffered< MatrixmInverseViewProjection
 Inverted viewprojection; double buffered for input handling. More...
 

Static Public Attributes

static const Dali::Camera::Type DEFAULT_TYPE
 
static const
Dali::Camera::ProjectionMode 
DEFAULT_MODE
 
static const bool DEFAULT_INVERT_Y_AXIS
 
static const float DEFAULT_FIELD_OF_VIEW
 
static const float DEFAULT_ASPECT_RATIO
 
static const float DEFAULT_LEFT_CLIPPING_PLANE
 
static const float DEFAULT_RIGHT_CLIPPING_PLANE
 
static const float DEFAULT_TOP_CLIPPING_PLANE
 
static const float DEFAULT_BOTTOM_CLIPPING_PLANE
 
static const float DEFAULT_NEAR_CLIPPING_PLANE
 
static const float DEFAULT_FAR_CLIPPING_PLANE
 
static const Vector2 DEFAULT_STEREO_BIAS
 
static const Vector3 DEFAULT_TARGET_POSITION
 

Protected Member Functions

 CameraAttachment ()
 Protected constructor, see New(). More...
 
- Protected Member Functions inherited from Dali::Internal::SceneGraph::NodeAttachment
 NodeAttachment ()
 Derived versions of NodeAttachment should be constructed. More...
 

Private Member Functions

 CameraAttachment (const CameraAttachment &)
 
CameraAttachmentoperator= (const CameraAttachment &rhs)
 
unsigned int UpdateViewMatrix (BufferIndex updateBufferIndex, const Node &owningNode)
 Recalculates the view matrix. More...
 
unsigned int UpdateProjection (BufferIndex updateBufferIndex)
 Recalculates the projection matrix. More...
 
void UpdateFrustum (BufferIndex updateBufferIndex, bool normalize=true)
 Extracts the frustum planes. More...
 

Private Attributes

unsigned int mUpdateViewFlag
 This is non-zero if the view matrix requires an update. More...
 
unsigned int mUpdateProjectionFlag
 This is non-zero if the projection matrix requires an update. More...
 

Additional Inherited Members

- Protected Attributes inherited from Dali::Internal::SceneGraph::NodeAttachment
NodemParent
 Pointer to parent node which owns the attachment. More...
 

Detailed Description

An attachment for camera objects and their properties.

Definition at line 51 of file scene-graph-camera-attachment.h.

Constructor & Destructor Documentation

Dali::Internal::SceneGraph::CameraAttachment::~CameraAttachment ( )
virtual

Virtual destructor.

Definition at line 201 of file scene-graph-camera-attachment.cpp.

Dali::Internal::SceneGraph::CameraAttachment::CameraAttachment ( )
protected

Protected constructor, see New().

Definition at line 153 of file scene-graph-camera-attachment.cpp.

Referenced by New().

Here is the caller graph for this function:

Dali::Internal::SceneGraph::CameraAttachment::CameraAttachment ( const CameraAttachment )
private

Member Function Documentation

bool Dali::Internal::SceneGraph::CameraAttachment::CheckAABBInFrustum ( BufferIndex  bufferIndex,
const Vector3 origin,
const Vector3 halfExtents 
)

Check to see if a bounding box lies within the view frustum.

Parameters
bufferIndexThe buffer to read from.
originthe world position center of the cubeoid to check.
halfExtentsThe half length of the cubeoid in world co-ordinates in each axis.
Returns
false if the cubeoid lies completely outside of the frustum, true otherwise

Definition at line 472 of file scene-graph-camera-attachment.cpp.

References Dali::Vector3::Dot(), Dali::Internal::SceneGraph::CameraAttachment::Plane::mDistance, mFrustum, Dali::Internal::SceneGraph::CameraAttachment::Plane::mNormal, Dali::Internal::SceneGraph::CameraAttachment::FrustumPlanes::mPlanes, Dali::Internal::SceneGraph::CameraAttachment::FrustumPlanes::mSign, and planes.

Referenced by Dali::Internal::SceneGraph::AddRendererToRenderList().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::CameraAttachment::CheckSphereInFrustum ( BufferIndex  bufferIndex,
const Vector3 origin,
float  radius 
)

Check to see if a sphere lies within the view frustum.

Parameters
bufferIndexThe buffer to read from.
originThe world position center of the sphere to check.
radiusThe length of the sphere radius in world scale.
Returns
false if the sphere lies outside of the frustum.

Definition at line 459 of file scene-graph-camera-attachment.cpp.

References Dali::Vector3::Dot(), Dali::Internal::SceneGraph::CameraAttachment::Plane::mDistance, mFrustum, Dali::Internal::SceneGraph::CameraAttachment::Plane::mNormal, Dali::Internal::SceneGraph::CameraAttachment::FrustumPlanes::mPlanes, and planes.

Referenced by Dali::Internal::SceneGraph::AddRendererToRenderList().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::CameraAttachment::ConnectedToSceneGraph ( )
virtual

Called when the parent node is connected to the SceneGraph.

Implements Dali::Internal::SceneGraph::NodeAttachment.

Definition at line 191 of file scene-graph-camera-attachment.cpp.

void Dali::Internal::SceneGraph::CameraAttachment::DisconnectedFromSceneGraph ( )
virtual

Called when the parent node is disconnected from the SceneGraph.

Implements Dali::Internal::SceneGraph::NodeAttachment.

Definition at line 196 of file scene-graph-camera-attachment.cpp.

const Matrix & Dali::Internal::SceneGraph::CameraAttachment::GetInverseViewProjectionMatrix ( BufferIndex  bufferIndex) const

Retrieve the inverted view-projection-matrix; this is double buffered for input handling.

Parameters
[in]bufferIndexThe buffer to read from.
Returns
The inverse view-projection-matrix.

Definition at line 292 of file scene-graph-camera-attachment.cpp.

References mInverseViewProjection.

Referenced by Dali::Internal::CameraAttachment::GetInverseViewProjectionMatrix().

Here is the caller graph for this function:

const Matrix & Dali::Internal::SceneGraph::CameraAttachment::GetProjectionMatrix ( BufferIndex  bufferIndex) const

Retrieve the projection-matrix; this is double buffered for input handling.

Parameters
[in]bufferIndexThe buffer to read from.
Returns
The projection-matrix.

Definition at line 282 of file scene-graph-camera-attachment.cpp.

References mProjectionMatrix.

Referenced by Dali::Internal::SceneGraph::RenderInstruction::GetProjectionMatrix(), Dali::Internal::CameraAttachment::GetProjectionMatrix(), Dali::Internal::SceneGraph::RenderTask::GetProjectionMatrix(), and Dali::Internal::CameraAttachment::GetProjectionMatrixProperty().

Here is the caller graph for this function:

const PropertyInputImpl * Dali::Internal::SceneGraph::CameraAttachment::GetProjectionMatrix ( ) const

Retrieve the projection-matrix property querying interface.

Precondition
The attachment is on-stage.
Returns
The projection-matrix property querying interface.

Definition at line 297 of file scene-graph-camera-attachment.cpp.

References mProjectionMatrix.

Vector3 Dali::Internal::SceneGraph::CameraAttachment::GetTargetPosition ( ) const

Get Camera Target.

const Matrix & Dali::Internal::SceneGraph::CameraAttachment::GetViewMatrix ( BufferIndex  bufferIndex) const

Retrieve the view-matrix; this is double buffered for input handling.

Parameters
[in]bufferIndexThe buffer to read from.
Returns
The view-matrix.

Definition at line 287 of file scene-graph-camera-attachment.cpp.

References mViewMatrix.

Referenced by Dali::Internal::SceneGraph::RenderInstruction::GetViewMatrix(), Dali::Internal::CameraAttachment::GetViewMatrix(), Dali::Internal::SceneGraph::RenderTask::GetViewMatrix(), and Dali::Internal::CameraAttachment::GetViewMatrixProperty().

Here is the caller graph for this function:

const PropertyInputImpl * Dali::Internal::SceneGraph::CameraAttachment::GetViewMatrix ( ) const

Retrieve the viewMatrix property querying interface.

Precondition
The attachment is on-stage.
Returns
The viewMatrix property querying interface.

Definition at line 302 of file scene-graph-camera-attachment.cpp.

References mViewMatrix.

void Dali::Internal::SceneGraph::CameraAttachment::Initialize ( SceneController sceneController,
BufferIndex  updateBufferIndex 
)
virtual

Second-phase construction.

This is called by the UpdateManager when the attachment is attached to the scene-graph.

Parameters
[in]sceneControllerAllows attachments to get camera controllers.
[in]updateBufferIndexThe current update buffer index.

Implements Dali::Internal::SceneGraph::NodeAttachment.

Definition at line 181 of file scene-graph-camera-attachment.cpp.

CameraAttachment * Dali::Internal::SceneGraph::CameraAttachment::New ( )
static

Construct a new CameraAttachment.

Returns
a new camera.

Definition at line 176 of file scene-graph-camera-attachment.cpp.

References CameraAttachment().

Referenced by Dali::Internal::CameraAttachment::CreateSceneObject().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::CameraAttachment::OnDestroy ( )
virtual

Called shortly before destruction.

After this method has been called, the SceneController cannot be safely accessed.

Implements Dali::Internal::SceneGraph::NodeAttachment.

Definition at line 186 of file scene-graph-camera-attachment.cpp.

CameraAttachment& Dali::Internal::SceneGraph::CameraAttachment::operator= ( const CameraAttachment rhs)
private
void Dali::Internal::SceneGraph::CameraAttachment::SetAspectRatio ( float  aspectRatio)
void Dali::Internal::SceneGraph::CameraAttachment::SetBottomClippingPlane ( float  bottomClippingPlane)
void Dali::Internal::SceneGraph::CameraAttachment::SetFarClippingPlane ( float  farClippingPlane)
void Dali::Internal::SceneGraph::CameraAttachment::SetFieldOfView ( float  fieldOfView)
void Dali::Internal::SceneGraph::CameraAttachment::SetInvertYAxis ( bool  invertYAxis)

Set whether the Y Axis is inverted or not.

Default camera inverts the Y axis to provide a +ve Y down LHS coordinate system Some cameras may require no inversion.

Parameters
[in]invertYAxisTrue if inverted, false otherwise

Definition at line 216 of file scene-graph-camera-attachment.cpp.

References mInvertYAxis, mUpdateProjectionFlag, and anonymous_namespace{scene-graph-camera-attachment.cpp}::UPDATE_COUNT.

Referenced by Dali::Internal::SceneGraph::SetInvertYAxisMessage().

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::CameraAttachment::SetLeftClippingPlane ( float  leftClippingPlane)
void Dali::Internal::SceneGraph::CameraAttachment::SetNearClippingPlane ( float  nearClippingPlane)
void Dali::Internal::SceneGraph::CameraAttachment::SetProjectionMode ( Dali::Camera::ProjectionMode  projectionMode)
void Dali::Internal::SceneGraph::CameraAttachment::SetRightClippingPlane ( float  rightClippingPlane)
void Dali::Internal::SceneGraph::CameraAttachment::SetStereoBias ( const Vector2 stereoBias)
void Dali::Internal::SceneGraph::CameraAttachment::SetTargetPosition ( const Vector3 targetPosition)
void Dali::Internal::SceneGraph::CameraAttachment::SetTopClippingPlane ( float  topClippingPlane)
void Dali::Internal::SceneGraph::CameraAttachment::SetType ( Dali::Camera::Type  type)

Definition at line 205 of file scene-graph-camera-attachment.cpp.

References mType.

Referenced by Dali::Internal::SceneGraph::SetTypeMessage().

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::CameraAttachment::Update ( BufferIndex  updateBufferIndex,
const Node owningNode,
int  nodeDirtyFlags 
)
virtual

Called when the attachment or it's owning node is flagged as dirty during scene graph updates.

Allows derived classes to perform extra processing

Parameters
[in]updateBufferIndexThe current update buffer index.
[in]owningNodeThe attachment's owning node
[in]nodeDirtyFlagsof the owning node

Reimplemented from Dali::Internal::SceneGraph::NodeAttachment.

Definition at line 307 of file scene-graph-camera-attachment.cpp.

References anonymous_namespace{scene-graph-camera-attachment.cpp}::COPY_PREVIOUS_MATRIX, mFrustum, mInverseViewProjection, mProjectionMatrix, Dali::Matrix::Multiply(), mUpdateProjectionFlag, mUpdateViewFlag, mViewMatrix, Dali::Internal::SceneGraph::TransformFlag, anonymous_namespace{scene-graph-camera-attachment.cpp}::UPDATE_COUNT, UpdateFrustum(), UpdateProjection(), UpdateViewMatrix(), and Dali::Internal::SceneGraph::VisibleFlag.

Here is the call graph for this function:

void Dali::Internal::SceneGraph::CameraAttachment::UpdateFrustum ( BufferIndex  updateBufferIndex,
bool  normalize = true 
)
private

Extracts the frustum planes.

Parameters
[in]bufferIndexThe current update buffer index.
[in]normalizewill normalize plane equation coefficients by default.

Definition at line 390 of file scene-graph-camera-attachment.cpp.

References Dali::Matrix::AsFloat(), l, Dali::Vector3::Length(), Dali::Internal::SceneGraph::CameraAttachment::Plane::mDistance, mFrustum, Dali::Internal::SceneGraph::CameraAttachment::Plane::mNormal, Dali::Internal::SceneGraph::CameraAttachment::FrustumPlanes::mPlanes, mProjectionMatrix, Dali::Internal::SceneGraph::CameraAttachment::FrustumPlanes::mSign, Dali::Matrix::Multiply(), mViewMatrix, planes, Dali::Sign(), Dali::Vector3::x, Dali::Vector3::y, and Dali::Vector3::z.

Referenced by Update().

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int Dali::Internal::SceneGraph::CameraAttachment::UpdateProjection ( BufferIndex  updateBufferIndex)
private
unsigned int Dali::Internal::SceneGraph::CameraAttachment::UpdateViewMatrix ( BufferIndex  updateBufferIndex,
const Node owningNode 
)
private
bool Dali::Internal::SceneGraph::CameraAttachment::ViewMatrixUpdated ( )
Returns
true if the view matrix of camera is updated this or the previous frame

Definition at line 346 of file scene-graph-camera-attachment.cpp.

References mUpdateViewFlag.

Referenced by Dali::Internal::SceneGraph::RenderTask::ViewMatrixUpdated().

Here is the caller graph for this function:

Member Data Documentation

const float Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_ASPECT_RATIO
static

Definition at line 58 of file scene-graph-camera-attachment.h.

const float Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_BOTTOM_CLIPPING_PLANE
static

Definition at line 62 of file scene-graph-camera-attachment.h.

const float Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_FAR_CLIPPING_PLANE
static

Definition at line 64 of file scene-graph-camera-attachment.h.

const float Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_FIELD_OF_VIEW
static

Definition at line 57 of file scene-graph-camera-attachment.h.

const bool Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_INVERT_Y_AXIS
static

Definition at line 56 of file scene-graph-camera-attachment.h.

const float Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_LEFT_CLIPPING_PLANE
static

Definition at line 59 of file scene-graph-camera-attachment.h.

const Dali::Camera::ProjectionMode Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_MODE
static

Definition at line 55 of file scene-graph-camera-attachment.h.

const float Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_NEAR_CLIPPING_PLANE
static

Definition at line 63 of file scene-graph-camera-attachment.h.

const float Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_RIGHT_CLIPPING_PLANE
static

Definition at line 60 of file scene-graph-camera-attachment.h.

const Vector2 Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_STEREO_BIAS
static

Definition at line 65 of file scene-graph-camera-attachment.h.

const Vector3 Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_TARGET_POSITION
static

Definition at line 66 of file scene-graph-camera-attachment.h.

const float Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_TOP_CLIPPING_PLANE
static

Definition at line 61 of file scene-graph-camera-attachment.h.

const Dali::Camera::Type Dali::Internal::SceneGraph::CameraAttachment::DEFAULT_TYPE
static

Definition at line 54 of file scene-graph-camera-attachment.h.

float Dali::Internal::SceneGraph::CameraAttachment::mAspectRatio

Definition at line 304 of file scene-graph-camera-attachment.h.

Referenced by SetAspectRatio(), and UpdateProjection().

float Dali::Internal::SceneGraph::CameraAttachment::mBottomClippingPlane

Definition at line 308 of file scene-graph-camera-attachment.h.

Referenced by SetBottomClippingPlane(), and UpdateProjection().

float Dali::Internal::SceneGraph::CameraAttachment::mFarClippingPlane

Definition at line 310 of file scene-graph-camera-attachment.h.

Referenced by SetFarClippingPlane(), and UpdateProjection().

float Dali::Internal::SceneGraph::CameraAttachment::mFieldOfView

Definition at line 303 of file scene-graph-camera-attachment.h.

Referenced by SetFieldOfView(), and UpdateProjection().

DoubleBuffered< FrustumPlanes > Dali::Internal::SceneGraph::CameraAttachment::mFrustum

Clipping frustum; double buffered for input handling.

Definition at line 317 of file scene-graph-camera-attachment.h.

Referenced by CheckAABBInFrustum(), CheckSphereInFrustum(), Update(), and UpdateFrustum().

DoubleBuffered< Matrix > Dali::Internal::SceneGraph::CameraAttachment::mInverseViewProjection

Inverted viewprojection; double buffered for input handling.

Definition at line 318 of file scene-graph-camera-attachment.h.

Referenced by GetInverseViewProjectionMatrix(), and Update().

bool Dali::Internal::SceneGraph::CameraAttachment::mInvertYAxis

Definition at line 301 of file scene-graph-camera-attachment.h.

Referenced by SetInvertYAxis(), and UpdateProjection().

float Dali::Internal::SceneGraph::CameraAttachment::mLeftClippingPlane

Definition at line 305 of file scene-graph-camera-attachment.h.

Referenced by SetLeftClippingPlane(), and UpdateProjection().

float Dali::Internal::SceneGraph::CameraAttachment::mNearClippingPlane

Definition at line 309 of file scene-graph-camera-attachment.h.

Referenced by SetNearClippingPlane(), and UpdateProjection().

InheritedMatrix Dali::Internal::SceneGraph::CameraAttachment::mProjectionMatrix

The projectionMatrix; this is double buffered for input handling.

Definition at line 315 of file scene-graph-camera-attachment.h.

Referenced by GetProjectionMatrix(), Update(), UpdateFrustum(), and UpdateProjection().

Dali::Camera::ProjectionMode Dali::Internal::SceneGraph::CameraAttachment::mProjectionMode

Definition at line 300 of file scene-graph-camera-attachment.h.

Referenced by SetProjectionMode(), and UpdateProjection().

float Dali::Internal::SceneGraph::CameraAttachment::mRightClippingPlane

Definition at line 306 of file scene-graph-camera-attachment.h.

Referenced by SetRightClippingPlane(), and UpdateProjection().

Vector2 Dali::Internal::SceneGraph::CameraAttachment::mStereoBias

Definition at line 311 of file scene-graph-camera-attachment.h.

Referenced by SetStereoBias(), and UpdateProjection().

Vector3 Dali::Internal::SceneGraph::CameraAttachment::mTargetPosition

Definition at line 312 of file scene-graph-camera-attachment.h.

Referenced by SetTargetPosition(), and UpdateViewMatrix().

float Dali::Internal::SceneGraph::CameraAttachment::mTopClippingPlane

Definition at line 307 of file scene-graph-camera-attachment.h.

Referenced by SetTopClippingPlane(), and UpdateProjection().

Dali::Camera::Type Dali::Internal::SceneGraph::CameraAttachment::mType

Definition at line 299 of file scene-graph-camera-attachment.h.

Referenced by SetType(), and UpdateViewMatrix().

unsigned int Dali::Internal::SceneGraph::CameraAttachment::mUpdateProjectionFlag
private
unsigned int Dali::Internal::SceneGraph::CameraAttachment::mUpdateViewFlag
private

This is non-zero if the view matrix requires an update.

Definition at line 295 of file scene-graph-camera-attachment.h.

Referenced by SetTargetPosition(), Update(), UpdateViewMatrix(), and ViewMatrixUpdated().

InheritedMatrix Dali::Internal::SceneGraph::CameraAttachment::mViewMatrix

The viewMatrix; this is double buffered for input handling.

Definition at line 314 of file scene-graph-camera-attachment.h.

Referenced by GetViewMatrix(), Update(), UpdateFrustum(), and UpdateViewMatrix().


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali