MD2Parser
MD2Parser provides a parser for the MD2 data type.
Additional information:
http://tfc.duke.free.fr/old/models/md2.htm
http://tfc.duke.free.fr/coding/md2-specs-en.html
Inherited from ParserBase -> EventDispatcher.
Can be created using method new:
Lib.Away3D.Loaders.Parsers.MD2Parser.new(textureType, ignoreTexturePath) |
Creates a new MD2Parser object. |
textureType - String, file type if material name has no extension (png, jpg, etx), default "jpg ignoreTexturePath - Bool, ignore texture path, default true |
Created object has 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. |
Static property:
Lib.Away3D.Loaders.Parsers.MD2Parser.FPS |
Int, The specified duration of the frame in milliseconds: 1000/FPS, default 6 frames |
Created with the Personal Edition of HelpNDoc: Free Web Help generator