X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-scene3d%2Fpublic-api%2Fmodel-components%2Fmodel-node.h;h=508b80cf4f62fe18cf3f8b19284f40b112234177;hb=3c430316e4c4d252d8822315acf61b1d49245917;hp=dc3e717de946540691ee1f2da239526a61f8b37d;hpb=b4b0e14f550ed243a65d56e2ba1eccc66c6c3dd9;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-scene3d/public-api/model-components/model-node.h b/dali-scene3d/public-api/model-components/model-node.h index dc3e717..508b80c 100644 --- a/dali-scene3d/public-api/model-components/model-node.h +++ b/dali-scene3d/public-api/model-components/model-node.h @@ -24,6 +24,7 @@ // INTERNAL INCLUDES #include +#include ///< For Loader::BlendShapes::Index #include namespace Dali @@ -136,7 +137,6 @@ public: static ModelNode DownCast(BaseHandle handle); public: // Public Method - /** * @brief Gets the number of ModelPrimitives this node has. * @@ -181,11 +181,30 @@ public: // Public Method /** * @brief Returns a child ModelNode object with a name that matches nodeName. * + * @SINCE_2_2.99 * @param[in] nodeName The name of the child ModelNode object you want to find. * @return Returns a child ModelNode object with a name that matches nodeName. If there is no corresponding child ModelNode object, it returns an empty ModelNode object. */ ModelNode FindChildModelNodeByName(std::string_view nodeName); + /** + * @brief Retrieve the list of blendshape name that current ModelNode hold. + * The name will be appended end of input list. + * + * @SINCE_2_2.99 + * @param[in, out] blendShapeNames The name of blendShape list collected. + */ + void RetrieveBlendShapeNames(std::vector& blendShapeNames) const; + + /** + * @brief Get the index of blend shape by given name. + * + * @SINCE_2_2.99 + * @param[in] blendShapeName The name of blendshape that is not empty. + * @return Index of blendshape, or return invalid if there is no blendshape with given name. + */ + Loader::BlendShapes::Index GetBlendShapeIndexByName(std::string_view blendShapeName) const; + public: // Not intended for application developers /// @cond internal /**