Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface glTFResourceLoader

Represents a loader for glTF asset resources (buffers and images).

Hierarchy

  • glTFResourceLoader

Index

Methods

Methods

load

  • load(uri: string, onComplete: (resource: LoaderResource) => void): void
  • Loads the resource from the specified uri.

    Parameters

    • uri: string

      The uri to load from.

    • onComplete: (resource: LoaderResource) => void

      Callback when loading is completed.

        • (resource: LoaderResource): void
        • Parameters

          • resource: LoaderResource

          Returns void

    Returns void

Generated using TypeDoc