AutoMovie API
    Preparing search index...

    Function createAutoMovieSurfaceAppearance

    • Apply provider-local color and compression to actual vertices, with owned resources.

      Parameters

      • input: {
            sample: (
                bone: string,
                point: IAutoMovieVector3,
                seconds: number,
                mesh: Mesh,
            ) => { color: [number, number, number]; displacement: IAutoMovieVector3 };
            space?: "bone-local" | "posed-mesh";
            surfaces: { bone: string; mesh: Mesh }[];
        }
        • sample: (
              bone: string,
              point: IAutoMovieVector3,
              seconds: number,
              mesh: Mesh,
          ) => { color: [number, number, number]; displacement: IAutoMovieVector3 }

          Sampler in the selected metre frame; mesh.matrixWorld maps posed-mesh points into scene world.

        • Optionalspace?: "bone-local" | "posed-mesh"

          Default bone-local rigid vertices; posed-mesh samples the actual linear/DQ skin and inverts its displacement.

        • surfaces: { bone: string; mesh: Mesh }[]

          Actual local surfaces and the physical bones carrying their vertices.

      Returns { dispose: () => void; update: (seconds: number) => void }