Class BVHFileLoaderExperimental
Implements
Constructors
constructor
-
ExperimentalCreates loader for bvh motion files
Parameters
OptionalloadingOptions: Partial<Readonly<BVHLoadingOptions>>Options for the bvh loader
Returns BVHFileLoader
Properties
Readonly Experimentalname
Name of the loader ("bvh")
Methods
can Direct Load
-
ExperimentalIf the data string can be loaded directly.
Parameters
- data: string
direct load data
Returns boolean
if the data can be loaded directly
- data: string
import Mesh Async
-
importMeshAsync(
_meshesNames: string | readonly string[] | null | undefined,
scene: Scene,
data: unknown,
): Promise<ISceneLoaderAsyncResult>ExperimentalImports 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
- _meshesNames: string | readonly string[] | null | undefined
is Bvh Header
-
ExperimentalReturns 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
- text: string
is Not Bvh Header
-
ExperimentalReturns 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
- text: string
load Asset Container Async
-
ExperimentalLoad 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
- scene: Scene
load Async
-
ExperimentalImports 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
- scene: Scene
BVH file type loader. This is a babylon scene loader plugin.