View source
class DXFParser
package away3d.loaders.parsers
extends ParserBase
Available on all platforms
DXFParser provides a parser for the dxf 3D renderable data. supported blocks type: FACEDATA, LINE. Color from dxf color table is set where index is encountered POLYLINE(64 polyface mesh) and VERTEX.
Static methods
staticsupportsData(data:Dynamic):Bool
Tests whether a data block can be parsed by the parser.
Parameters:
data | The data block to potentially be parsed. |
|---|
Returns:
Whether or not the given data is supported.
staticsupportsType(extension:String):Bool
Indicates whether or not a given file extension is supported by the parser.
Parameters:
extension | The file extension of a potential file to be parsed. |
|---|
Returns:
Whether or not the given file type is supported.
Constructor
new()
Creates a new DXFParser object.
Parameters:
uri | The url or id of the data or file to be parsed. |
|---|---|
extra | The holder for extra contextual data that the parser might need. |