Exemple #1
0
        public override void EndDesign(IDirectXProvider directX)
        {
            base.EndDesign(directX);

            foreach (IControlMesh control in TreeTraversal.PreOrderVisibleControlsVisit(this))
            {
                shapes.AddRange(control.Shapes);
            }

            mesh.Build(shapes);
            mesh.Initialize(directX);
        }