X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-scene3d%2Fpublic-api%2Fcontrols%2Fmodel-view%2Fmodel-view.h;h=ce5e249cce839e2b712d0668d799e0473a963a36;hp=4c27f1ade3a8af10224b154d1c8bb7c595029f86;hb=d0ecd061af4a237b98a1bc3bdd4f8ffcbc5e9549;hpb=be6d328a84a8d9bd43056b24ff13d739ea2ab435 diff --git a/dali-scene3d/public-api/controls/model-view/model-view.h b/dali-scene3d/public-api/controls/model-view/model-view.h index 4c27f1a..ce5e249 100644 --- a/dali-scene3d/public-api/controls/model-view/model-view.h +++ b/dali-scene3d/public-api/controls/model-view/model-view.h @@ -23,6 +23,7 @@ // EXTERNAL INCLUDES #include +#include #include namespace Dali @@ -164,6 +165,17 @@ public: void SetImageBasedLightSource(const std::string& diffuse, const std::string& specular, float scaleFactor = 1.0f); /** + * @brief Set Image Based Light Texture. + * + * @param[in] diffuse cube map texture that can be used as a diffuse IBL source. + * @param[in] specular cube map texture that can be used as a specular IBL source. + * @param[in] scaleFactor scale factor that controls light source intensity in [0.0f, 1.0f]. Default value is 1.0f. + * + * @note Both of diffuse and specular should be available. If not, nothing applied. + */ + void SetImageBasedLightTexture(Texture diffuse, Texture specular, float scaleFactor = 1.0f); + + /** * @brief Gets number of animations those loaded from model file. * @return The number of loaded animations. * @note This method should be called after Model load finished.