X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Factors%2Fcamera-actor-impl.h;h=faeb53fa639d639970a4c02fcc38a478ee4b3b82;hb=d353bae63798f48237dc24c078c2e8cb2aa0bc62;hp=1694ba306d146b7b11043cc7bf131f3ad26633f6;hpb=403f5989d41f4e5c5a657e24020fe32c77fc1414;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/actors/camera-actor-impl.h b/dali/internal/event/actors/camera-actor-impl.h index 1694ba3..faeb53f 100644 --- a/dali/internal/event/actors/camera-actor-impl.h +++ b/dali/internal/event/actors/camera-actor-impl.h @@ -53,6 +53,15 @@ public: static CameraActorPtr New( const Size& size ); /** + * Sets the reflection plane for the camera + * + * @param[in] plane Plane parameters + * + * @note plane.xyz are normal vector of the plane. + */ + void SetReflectByPlane( const Vector4& plane ); + + /** * @copydoc Dali::CameraActor::SetTargetPosition */ void SetTarget( const Vector3& targetPosition ); @@ -195,6 +204,13 @@ public: */ const SceneGraph::Camera* GetCamera() const; + /** + * Rotate the projection. + * It is used in case that the target buffer direction is different from the window direction. + * @param [in] rotationAngle The rotation angle + */ + void RotateProjection( int rotationAngle ); + public: // properties /** @@ -234,14 +250,19 @@ private: /** * @copydoc Dali::Internal::Actor::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; + /** + * @copydoc Dali::Internal::Actor::OnStageConnectionInternal() + */ + void OnStageConnectionInternal() override; private: // Data const SceneGraph::Camera* mSceneObject; ///< Not owned Vector3 mTarget; + Vector2 mCanvasSize; Dali::Camera::Type mType; Dali::Camera::ProjectionMode mProjectionMode; float mFieldOfView;