Reference Source
public class | source

STLDefaultDataSource

Default data access strategy for STLLoaderPlugin.

This implementation simply loads STL files using XMLHttpRequest.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public

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

Gets STL data.

Public Constructors

public constructor() source

Public Members

public cacheBuster: * source

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.