Click or drag to resize

OceanManagerAutoHeight Property

Ocean 자동 높이 활성화/비활성화

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

Property Value

Type: Boolean
Examples
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