CLEAR

PrefabsModule


The PrefabsModule module provides functionality for working with external meshes.

Properties

This class exposes no properties.

Methods

MethodDescription

get

get(prefabName: string): PrefabBase

Returns a prefab object, derived from PrefabBase, that is specified by prefabName. An exception is thrown when prefab isn't found. At the moment we have only one type:

  • PrefabGltf

See Also: PrefabBase.name.

Classes

ClassDescription

Prefab

The Prefab class represents a downloadable prefab mesh.

PrefabGltf

The PrefabGltf class represents a GLTF prefab mesh.

Enums

ValueDescription

State

The State enum describes the state of a prefab mesh.