public override void Render(Device device, DeviceContext deviceContext, Camera camera, LightClass light) { if (!DoRender) { return; } if (Boundary != null) { Boundary.Render(device, deviceContext, camera, light); } if (Splines != null) { foreach (var spline in Splines) { spline.Render(device, deviceContext, camera, light); } } }