Creates a new Max3DSParser
object.
Determines whether the parser looks for smoothing groups in the 3ds file or assumes uniform smoothing. Defaults to true.
The data format of the file data to be parsed. Options are URLLoaderDataFormat.BINARY
, URLLoaderDataFormat.ARRAY_BUFFER
, URLLoaderDataFormat.BLOB
, URLLoaderDataFormat.VARIABLES
or URLLoaderDataFormat.TEXT
.
A list of dependencies that need to be loaded and resolved for the object being parsed.
Returned by proceedParsing
to indicate more parsing is needed, allowing asynchronous parsing.
Returned by proceedParsing
to indicate no more parsing is needed.
Resolve a dependency name
The dependency to be resolved.
Finish parsing the data.
Tests whether or not there is still time left for parsing within the maximum allowed time frame per session.
True if there is still time left, false if the maximum allotted time was exceeded and parsing should be interrupted.
Called when the parsing pause interval has passed and parsing can proceed.
Add an event listener
Dispatch an event
check if an object has an event listener assigned to it
Parse data (possibly containing bytearry, plain text or BitmapAsset) asynchronously, meaning that the parser will periodically stop parsing so that the AVM may proceed to the next frame.
The untyped data object in which the loaded data resides.
number of milliseconds of parsing allowed per frame. The actual time spent on a frame can exceed this number since time-checks can only be performed between logical sections of the parsing procedure.
Remove an event listener
Tests whether a data block can be parsed by the parser.
The data block to potentially be parsed.
Whether or not the given data is supported.
Indicates whether or not a given file extension is supported by the parser.
The file extension of a potential file to be parsed.
Whether or not the given file type is supported.
Generated using TypeDoc
Max3DSParser provides a parser for the 3ds data type.