The root entity of the model to which animation will be assigned
The glTF model containing animation data
The corresponding VRM model that provides humanoid bone mapping
Whether the source and target skeletons are identical
The retargeting mode: 'none' for direct assignment, 'global' for global retargeting, 'absolute' for absolute animation
The root entity with assigned animations
Assigns animation data from a VRMA (VRM Animation) model to a root entity. This method specifically handles VRM animation format with humanoid bone mapping.
The root entity of the model to which animation will be assigned
The VRMA model containing animation data and humanoid bone mappings
Optional
postfixToTrackName: stringOptional postfix to append to animation track names for identification
An array of animation track names that were created
Static
getGets the singleton instance of the AnimationAssigner class. Creates a new instance if one doesn't exist.
The singleton instance of AnimationAssigner
Assigns animation data from a glTF model to a root entity with optional retargeting. This method handles both same-skeleton and cross-skeleton animation assignment.