Click or drag to resize

OceanManagerEnable Property

Ocean 활성화/비활성화

Namespace: VIZCore3D.NET.Manager
Assembly: VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.910 (2.8.24.910)
Syntax
C#
public bool Enable { get; set; }

Property Value

Boolean
Example
C#
// 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;
}
See Also