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: ILoaderResource) => void): void
  • Loads the resource from the specified uri.

    Parameters

    • uri: string

      The uri to load from.

    • onComplete: (resource: ILoaderResource) => void

      Callback when loading is completed.

        • (resource: ILoaderResource): void
        • Parameters

          • resource: ILoaderResource

          Returns void

    Returns void

Generated using TypeDoc