public void UpdateTempScene(IBaseGraphic gi) { if (!(gi is BlazorGraphics3D gi3d)) { throw new ArgumentOutOfRangeException(); } ClearTemp(); TempScene = gi3d.Scene; }
public void UpdateFullScene(IBaseGraphic gi) { if (!(gi is BlazorGraphics3D gi3d)) { throw new ArgumentOutOfRangeException(); } ClearAll(); Scene = gi3d.Scene; foreach (var unit in Scene) { unit.Render(this); } }