示例#1
0
        public override void BulkAddPrimShapes(ICollection <BulkShapeData> shapeData, AddPrimShapeFlags flags)
        {
            Commands.BulkCreateObjectCmd createObjs = new Commands.BulkCreateObjectCmd(flags, shapeData);
            this.QueueCommand(createObjs);

            createObjs.FinishedEvent.Wait(); //wait for meshing and all prerequisites to complete

            createObjs.Dispose();
        }
示例#2
0
        public override void BulkAddPrimShapes(ICollection<BulkShapeData> shapeData, AddPrimShapeFlags flags)
        {
            Commands.BulkCreateObjectCmd createObjs = new Commands.BulkCreateObjectCmd(flags, shapeData);
            this.QueueCommand(createObjs);

            createObjs.FinishedEvent.Wait(); //wait for meshing and all prerequisites to complete

            createObjs.Dispose();
        }