AutoMovie API
    Preparing search index...

    Construct a flat world surface from an authored XZ footprint and height.

    type IInput = {
        height: number;
        id: string;
        polygon: { x: number; z: number }[];
        walkable: boolean;
    }
    Index
    height: number

    Constant world Y in metres for every point on the plane. Downstream validation checks finiteness; construction preserves the supplied value.

    id: string

    Authored surface identity, copied verbatim. This constructor does not reject blank or duplicate IDs; downstream world validation owns that admission.

    polygon: { x: number; z: number }[]

    Authored world XZ footprint in metres, cloned into the result without geometry correction or validation.

    Type Declaration

    • x: number

      Footprint vertex world X in metres.

    • z: number

      Footprint vertex world Z in metres.

    walkable: boolean

    Authored support permission copied unchanged, independent of the footprint's shape.