Taos API Reference
    Preparing search index...

    Interface OceanSurfaceSample

    interface OceanSurfaceSample {
        y: number;
        normal: Vec3;
    }
    Index

    Properties

    Properties

    y: number

    World-space surface Y (oceanLevel + sum of Gerstner vertical offsets).

    normal: Vec3

    Unit world-space surface normal (Y component positive for an upward face).