internal RWMeshList(RWNodeFactory.RWNodeInfo header, BinaryReader reader) : base(header) { _struct = RWNodeFactory.GetNode<RWGeometryListStruct>(this, reader); _geometryList = new List<RWMesh>(_struct.GeometryCount); for (int i = 0; i < _struct.GeometryCount; i++) { _geometryList.Add(RWNodeFactory.GetNode<RWMesh>(this, reader)); } }
public RWMeshList(IList<RWMesh> geoList, RWNode parent = null) : base(RWNodeType.GeometryList, parent) { Meshes = geoList.ToList(); _struct = new RWGeometryListStruct(this); }