Reference Source
public class | source

IFCOpenShellDefaultDataSource

Default data access strategy for IFCOpenShellLoaderPlugin.

This just loads assets using XMLHttpRequest.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public

getIFC(src: String | Number, ok: Function, error: Function)

Gets the contents of the given IFC file in an arraybuffer.

Public Constructors

public constructor() source

Public Members

public cacheBuster: * source

Public Methods

public getIFC(src: String | Number, ok: Function, error: Function) source

Gets the contents of the given IFC file in an arraybuffer.

Params:

NameTypeAttributeDescription
src String | Number

Path or ID of an IFC file.

ok Function

Callback fired on success, argument is the IFC file in an arraybuffer.

error Function

Callback fired on error.