Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AssetUtils

Index

Methods

Static getAllBabylonAssetInfo

  • Returns name and url of every babylon asset that is assigned to this configurator.
    This is especially useful for automatically creating the 3d viewer Spec.

    Returns BabylonAssetInfo[]

Static getBabylonUrl

  • getBabylonUrl(babylonAssetPath: string): undefined | string
  • Get the url of a babylon-file which is contained in a bundle that is assigned to this configurator

    Parameters

    • babylonAssetPath: string

      Full asset path with an optional foldername, separated by a . (e.g. Models.CarXY)

    Returns undefined | string

    url of the file or undefined

Generated using TypeDoc