Options
All
  • Public
  • Public/Protected
  • All
Menu

Load GLB files (using Three.js), using the "model3D" resources registered in the game resources.

Hierarchy

  • Model3DManager

Implements

Index

Constructors

Methods

  • dispose(): void
  • getModel(resourceName: string): GLTF
  • Return a 3D model.

    Caller should not modify the object but clone it.

    Parameters

    • resourceName: string

      The name of the json resource.

    Returns GLTF

    a 3D model if it exists.

  • getResourceKinds(): ResourceKind[]
  • loadResource(resourceName: string): Promise<void>
  • processResource(resourceName: string): Promise<void>

Generated using TypeDoc