Reference Source
public class | source

WebIFCDefaultDataSource

Default data access strategy for WebIFCLoaderPlugin.

Constructor Summary

Public Constructor
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 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.