OBJParser provides a parser for the OBJ data type.

Additional information: https://en.wikipedia.org/wiki/Wavefront_.obj_file


Inherited from ParserBase -> EventDispatcher.


Can be created using method new:

Lib.Away3D.Loaders.Parsers.OBJParser.new(scale)

Creates a new OBJParser object.

scale - Number, Scaling factor applied directly to vertices data  (1)


Created object has properties:

scale

[write-only] Scaling factor applied directly to vertices data 


methods:

supportsType(extension)

Indicates whether or not a given file extension is supported by the parser.

Returns whether or not the given file type is supported. true/false

extension - String, The file extension of a potential file to be parsed.

supportsData(data)

Tests whether a data block can be parsed by the parser.

Returns whether or not the given data is supported. true/false

data - The data block to potentially be parsed.




Created with the Personal Edition of HelpNDoc: Free PDF documentation generator