AutoMovie API
    Preparing search index...

    Variable buildFluidSurfaceObjectConst

    buildFluidSurfaceObject: (
        props: {
            material?: THREE.Material;
            mode?: AutoMovieWaterFeatureMode;
            surface: IAutoMovieFluidSurface;
        },
    ) => IAutoMovieFluidSurfaceObject = ...

    Project one engine-derived free surface into a three.js mesh.

    Positions, normals, UVs and the per-vertex flow vector come from the Engine surface. aFlow and flowing preserve numerical intent for a supplied shader; the default MeshStandardMaterial does not consume either to scroll ripples.

    Structural passes swap this ordinary mesh's material. Its bounding sphere uses the supplied wet bounds; copied Float32 positions do not establish pixel equality with the numerical depth field.

    Type Declaration