Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AssetSource

Instructions for how to load an asset.

Hierarchy

  • AssetSource

Index

Properties

containerType

containerType: "gltf" | "library"

The format of the asset container.

Optional internalId

internalId: string

A designator for which asset in the container this is. Format will be different for each container type. For example, a glTF's third material would have "materials/2" as its internalId.

Optional uri

uri: string

The URI at which the asset container can be found.