Esempio n. 1
0
        internal RwGeometryListNode(RwNodeFactory.RwNodeHeader header, BinaryReader reader)
            : base(header)
        {
            mStructNode   = RwNodeFactory.GetNode <RwGeometryListStructNode>(this, reader);
            mGeometryList = new List <RwGeometryNode>(mStructNode.GeometryCount);

            for (int i = 0; i < mStructNode.GeometryCount; i++)
            {
                mGeometryList.Add(RwNodeFactory.GetNode <RwGeometryNode>(this, reader));
            }
        }
Esempio n. 2
0
 public RwGeometryListNode(RwNode parent) : base(RwNodeId.RwGeometryListNode, parent)
 {
     mGeometryList = new List <RwGeometryNode>();
     mStructNode   = new RwGeometryListStructNode(this);
 }