#define __DALI_INTERNAL_CAMERA_ACTOR_H__
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
namespace SceneGraph
{
-class CameraAttachment;
+class Camera;
}
/**
- * An actor with CameraAttachment.
+ * An actor with Camera.
*/
class CameraActor : public Actor
{
*/
const Matrix& GetProjectionMatrix() const;
+ /**
+ * Return the scene graph camera (for RenderTask)
+ * @return The scene graph camera.
+ */
+ const SceneGraph::Camera* GetCamera() const;
+
public: // properties
/**
virtual Property::Index GetDefaultPropertyIndex(const std::string& name) const;
/**
- * copydoc Dali::Internal::Object
+ * copydoc Dali::Internal::Object::SetDefaultProperty()
*/
virtual void SetDefaultProperty( Property::Index index, const Property::Value& propertyValue );
/**
- * copydoc Dali::Internal::Object
+ * copydoc Dali::Internal::Object::GetDefaultProperty()
*/
virtual Property::Value GetDefaultProperty( Property::Index index ) const;
/**
+ * copydoc Dali::Internal::Object::GetDefaultPropertyCurrentValue()
+ */
+ virtual Property::Value GetDefaultPropertyCurrentValue( Property::Index index ) const;
+
+ /**
* copydoc Dali::Internal::Object
*/
virtual bool IsDefaultPropertyWritable( Property::Index index ) const ;
private: // Data
- const SceneGraph::CameraAttachment* mSceneObject; ///< Not owned
+ const SceneGraph::Camera* mSceneObject; ///< Not owned
Vector3 mTarget;
Dali::Camera::Type mType;