Taos API Reference
    Preparing search index...

    Interface OceanSeaLevelSegment

    One link of a sea-level offset STRIP: the water surface offset lerps from y0 at (x0, z0) to y1 at (x1, z1) across a capsule of the given width. Chain several (sharing endpoints) to step a river's surface downhill; overlapping links resolve by max, so joints stay seamless. Keep the feathered edge inside the channel banks, like the circular regions.

    interface OceanSeaLevelSegment {
        x0: number;
        z0: number;
        y0: number;
        x1: number;
        z1: number;
        y1: number;
        width: number;
        feather?: number;
    }
    Index

    Properties

    Properties

    x0: number
    z0: number
    y0: number

    Surface offset (m above the base ocean level) at the start point.

    x1: number
    z1: number
    y1: number

    Surface offset (m) at the end point.

    width: number

    Full strip width (m).

    feather?: number

    Edge feather (m) over which the offset fades to 0. Default 30% of the half width.