[dali_2.3.24] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / dali-scene3d / public-api / loader / bvh-loader.h
index 950b2ea..58cab5b 100644 (file)
@@ -26,23 +26,27 @@ namespace Dali::Scene3D::Loader
 /**
  * @brief Loads motion capture data from bvh file format.
  *
+ * @SINCE_2_1.32
  * @param[in] path The file path.
  * @param[in] animationName Name of the motion capture animation
+ * @param[in] useRootTranslationOnly True to use only root translation with rotation animation.
  * @param[in] scale The scale factor to set on the position property manually.
  * @return AnimationDefinition that includes joint animation information.
  */
-DALI_SCENE3D_API AnimationDefinition LoadBvh(const std::string& path, const std::string& animationName, const Vector3& scale = Vector3::ONE);
+DALI_SCENE3D_API AnimationDefinition LoadBvh(const std::string& path, const std::string& animationName, bool useRootTranslationOnly, const Vector3& scale = Vector3::ONE);
 
 /**
  * @brief Loads motion capture data from bvh data stream.
  *
+ * @SINCE_2_2.23
  * @param[in] rawBuffer The bvh buffer.
  * @param[in] rawBufferLength The length of buffer.
  * @param[in] animationName Name of the motion capture animation
+ * @param[in] useRootTranslationOnly True to use only root translation with rotation animation.
  * @param[in] scale The scale factor to set on the position property manually.
  * @return AnimationDefinition that includes joint animation information.
  */
-DALI_SCENE3D_API AnimationDefinition LoadBvhFromBuffer(const uint8_t* rawBuffer, int rawBufferLength, const std::string& animationName, const Vector3& scale = Vector3::ONE);
+DALI_SCENE3D_API AnimationDefinition LoadBvhFromBuffer(const uint8_t* rawBuffer, int rawBufferLength, const std::string& animationName, bool useRootTranslationOnly, const Vector3& scale = Vector3::ONE);
 
 } // namespace Dali::Scene3D::Loader