API

Class BVHFileLoaderExperimental

BVH file type loader. This is a babylon scene loader plugin.

Implements

Index
name: any = BVHFileLoaderMetadata.name

Name of the loader ("bvh")

  • Experimental

    Imports from the loaded gaussian splatting data and adds them to the scene

    Parameters

    • _meshesNames: string | readonly string[] | null | undefined

      a string or array of strings of the mesh names that should be loaded from the file

    • scene: Scene

      the scene the meshes should be added to

    • data: unknown

      the bvh data to load

    Returns Promise<ISceneLoaderAsyncResult>

    a promise containing the loaded skeletons and animations

  • Experimental

    Returns whether the provided text starts with a BVH HIERARCHY header.

    Parameters

    • text: string

      the text to inspect

    Returns boolean

    true if the text is a BVH header

  • Experimental

    Returns whether the provided text does not start with a BVH HIERARCHY header.

    Parameters

    • text: string

      the text to inspect

    Returns boolean

    true if the text is not a BVH header

  • Experimental

    Load into an asset container.

    Parameters

    • scene: Scene

      The scene to load into

    • data: unknown

      The data to import

    Returns Promise<AssetContainer>

    The loaded asset container

  • Experimental

    Imports all objects from the loaded bvh data and adds them to the scene

    Parameters

    • scene: Scene

      the scene the objects should be added to

    • data: unknown

      the bvh data to load

    Returns Promise<void>

    a promise which completes when objects have been loaded to the scene