View source
class MD2Parser
package away3d.loaders.parsers
extends ParserBase
Available on all platforms
MD2Parser provides a parser for the MD2 data type.
Static variables
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(textureType:String = "jpg", ignoreTexturePath:Bool = true)
Creates a new MD2Parser object.
Parameters:
textureType | The extension of the texture (e.g. jpg/png/...) |
|---|---|
ignoreTexturePath | If true, the path of the texture is ignored |