Reference Source
public class | source

STLDefaultDataSource

Default data access strategy for STLLoaderPlugin.

This implementation simply loads STL files using XMLHttpRequest.

Method Summary

Public Methods
public

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

Gets STL data.

Public Methods

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

Gets STL data.

Params:

NameTypeAttributeDescription
src String | Number

Identifies the STL file.

ok Function

Fired on successful loading of the STL file.

error Function

Fired on error while loading the STL file.