Class JSONMaterialLoader

Hierarchy (view full)

Constructors

Properties

viewer?: ThreeViewer

Methods

  • Parameters

    • url: string
    • Optional onLoad: ((response) => void)
        • (response): void
        • Parameters

          • response: any

          Returns void

    • Optional onProgress: ((request) => void)
        • (request): void
        • Parameters

          • request: ProgressEvent<EventTarget>

          Returns void

    • Optional onError: ((event) => void)
        • (event): void
        • Parameters

          • event: ErrorEvent

          Returns void

    Returns any

  • Parameters

    • url: string
    • Optional onProgress: ((event) => void)
        • (event): void
        • Parameters

          • event: ProgressEvent<EventTarget>

          Returns void

    Returns Promise<any>

Generated using TypeDoc