protected override void RebuildGraphics() { if (_mesh == null || Scenecontrol == null) { return; } if (Scenegraphics == null) { Scenegraphics = new SceneModel3DGroups[Scenecontrol.Length]; for (int v = 0; v < Scenegraphics.Length; v++) { Scenegraphics[v] = new SceneModel3DGroups(_mesh, _mat, _trans); } } }
protected override void RebuildGraphics() { if (_points == null || Scenecontrol == null) { return; } if (Scenegraphics == null) { Scenegraphics = new SceneModel3DGroups[Scenecontrol.Length]; for (int v = 0; v < Scenegraphics.Length; v++) { ViewPortTools.ScreenSpaceLines3D spacecurve = EntityTools.Polygon3D.GetScreenSpaceLines3D(_points, _polycolor); Scenegraphics[v] = new SceneModel3DGroups(spacecurve); } } }