Skip to content

Commit

Permalink
chore: updated header
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed May 15, 2024
1 parent 19b0756 commit dded724
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions package/ios/libs/filament/include/gltfio/Animator.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ class UTILS_PUBLIC Animator {
void updateBoneMatrices();

/**
* Updates the bone matrices of the specified instance using the state of this animation.
* This is useful if you have other instances that have the same skeleton as the animator
* from this asset, and you want those instances to be animated by the same animation (e.g. clothing).
* Usually you don't need this and using updateBoneMatrices() is enough.
* Updates the bone matrices of the specified instance using the state of this animatior.
* This is useful if you have another instance that has the same skeleton as the asset of this animator,
* and you wish to apply the same animation to those instances (e.g. clothing).
*
* NOTE: In most cases, you only need to use the updateBoneMatrices() method. This method is necessary
* only when you need to synchronize animations across multiple instances with the same skeleton.
*
* @param instance The instance to update.
*/
Expand Down

0 comments on commit dded724

Please sign in to comment.