Packagecom.mousman.as3.agal.parser.objs
Classpublic class MMtlParser
InheritanceMMtlParser Inheritance Object
Implements IDestroyable

Parse a MTL file and create a Vector of MTLSet



Public Properties
 PropertyDefined By
  mtlSetVector : Vector.<MMtlSet>
[read-only] Vector of MtlSet
MMtlParser
Public Methods
 MethodDefined By
  
MMtlParser(file:String)
Constructor.
MMtlParser
  
destroy():void
MMtlParser
  
parse(writerParams:MBuffersWriterDTO = null):void
parse the mtl file
MMtlParser
Property Detail
mtlSetVectorproperty
mtlSetVector:Vector.<MMtlSet>  [read-only]

Vector of MtlSet


Implementation
    public function get mtlSetVector():Vector.<MMtlSet>
Constructor Detail
MMtlParser()Constructor
public function MMtlParser(file:String)

Constructor. Creates a new MMtlParser instance.

Parameters
file:String — : String.

the mtl file as a String

Method Detail
destroy()method
public function destroy():void

parse()method 
public function parse(writerParams:MBuffersWriterDTO = null):void

parse the mtl file

Parameters

writerParams:MBuffersWriterDTO (default = null) — : MBuffersWriterDTO.

used to force colors