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
StaticreadCreates a reverse mapping from VRMA expression nodes to expression names and their group type. Both preset and custom expressions are included, and multiple expressions may intentionally share the same animation node.
The imported VRMA data to augment
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 and expression animation data. This class provides static methods to import VRMA files from various sources and processes node mappings 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 and expression definitions.
Example