OceanManagerEnable Property |
Namespace: VIZCore3D.NET.Manager
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void ExampleAuto() { vizcore3d.View.Ocean.Enable = true; vizcore3d.View.Ocean.AutoHeight = true; } private void Example() { vizcore3d.View.Ocean.Enable = true; vizcore3d.View.Ocean.AutoHeight = false; VIZCore3D.NET.Data.BoundBox3D boundBox = vizcore3d.Model.BoundBox; vizcore3d.View.Ocean.Height = boundBox.MinZ + 10000.0f; }