StaticimportImports a VRMA (VRM Animation) file from an ArrayBuffer.
The ArrayBuffer containing the VRMA file data
A Promise that resolves to the imported VRMA data structure
StaticimportImports a VRMA (VRM Animation) file from a URL.
The URL of the VRMA file to import
A Promise that resolves to the imported VRMA data structure
StaticreadReads and processes the humanoid bone data from a VRMA file. Creates a mapping between node IDs and human bone names for easier bone lookup.
The RnM2Vrma object containing the VRMA data
void - This method modifies the input object in place
A utility class for importing VRMA (VRM Animation) files.
VRMA is an extension format for VRM that adds animation capabilities, allowing for the import and processing of humanoid animation data. This class provides static methods to import VRMA files from various sources and processes the humanoid bone mapping for efficient animation playback.
Remarks
This class extends the functionality of Gltf2Importer to handle VRMA-specific features, particularly the VRMC_vrm_animation extension that contains humanoid bone definitions and animation data.
Example