Package | away3d.loading.parsers |
Class | public class ColladaParser |
Inheritance | ColladaParser ParserBase flash.events.EventDispatcher |
Method | Defined by | ||
---|---|---|---|
ColladaParser
(uri:String)
Creates a new ColladaParser object.
| ColladaParser | ||
isBitmapDataValid(bitmapData:BitmapData):Boolean
Validates a bitmapData loaded before assigning to a default BitmapMaterial
| ParserBase | ||
parseBytesAsync(bytes:ByteArray, frameLimit:Number = 30):void
Parse byte array (possibly containing plain text) asynchronously, meaning that
the parser will periodically stop parsing so that the AVM may proceed to the
next frame.
| ParserBase | ||
parseTextAsync(str:String, frameLimit:Number = 30):void
Parse plaintext string asynchronously, meaning that the parser will periodically
stop parsing so that the AVM may proceed to the next frame.
| ParserBase | ||
supportsData(data:*):Boolean
[static]
Tests whether a data block can be parsed by the parser.
| ColladaParser | ||
supportsType(extension:String):Boolean
[static]
Indicates whether or not a given file extension is supported by the parser.
| ColladaParser |
ColladaParser | () | constructor |
public function ColladaParser(uri:String)
Parameters
uri:String — The url or id of the data or file to be parsed.
|
supportsData | () | method |
public static function supportsData(data:*):Boolean
Tests whether a data block can be parsed by the parser.
Parametersdata:* — The data block to potentially be parsed.
|
Boolean — Whether or not the given data is supported.
|
supportsType | () | method |
public static function supportsType(extension:String):Boolean
Indicates whether or not a given file extension is supported by the parser.
Parametersextension:String — The file extension of a potential file to be parsed.
|
Boolean — Whether or not the given file type is supported.
|