@equinor/videx-3d
    Preparing search index...

    Type Alias OceanBoxOptions

    OceanBoxOptions: OceanGeometryOptions & {
        bedSegments?: number | Vec2;
        depthVariation?: number;
        seed?: number;
        waterDepth?: number;
    }

    Options for createOceanBox.

    Type Declaration

    • OptionalbedSegments?: number | Vec2

      Sea-bed tessellation: a single number for both axes, or [X, Z]. Controls how finely the depth variation is resolved. Default 32.

    • OptionaldepthVariation?: number

      Sea-bed depth variation in meters (±) around waterDepth. With the defaults the bed varies between 100 m and 200 m. Default 50.

    • Optionalseed?: number

      Seed for the procedural sea-bed variation. Default 0.

    • OptionalwaterDepth?: number

      Mean water depth in meters: distance from the surface (y = 0) down to the sea bed. Default 150.