protected override void ProcessNodePre(AseReader reader, AseNode parentNode) { if (parentNode is AseMaterialList) { AseMaterialList list = parentNode as AseMaterialList; int index = int.Parse(reader.NodeData); list[index] = this; } }
public AseRoot() : base() { _geomObjects = new ArrayList(); AddNodeParser("MATERIAL_LIST", _materialList = new AseMaterialList()); AddNodeParser("GEOMOBJECT", typeof(AseGeometryObject)); }