AutoMovie API
    Preparing search index...

    Interface IAutoMovieSubdivisionLevel

    One refinement level of a subdivision surface: its connectivity, vertex positions, face-varying UVs and the cage parameters of every face corner.

    Parameters are per corner rather than per vertex because a vertex shared by several cage faces has different local coordinates in each; the subdivider reports the first corner's. parameterCorners is -1 where the cage face is a quad, as IAutoMovieSubdivisionParameter.corner is null.

    interface IAutoMovieSubdivisionLevel {
        cage: boolean;
        cornerUvs: number[] | null;
        parameterCorners: number[];
        parameterFaces: number[];
        parameterU: number[];
        parameterV: number[];
        positions: number[];
        topology: IAutoMovieSubdivisionTopology;
        uvs: number[] | null;
    }
    Index
    cage: boolean

    Whether this is the admitted cage rather than a refined level.

    cornerUvs: number[] | null

    UV value of every corner, or null without UVs.

    parameterCorners: number[]

    Sub-face corner of every corner, -1 for a quad cage face.

    parameterFaces: number[]

    Cage face of every corner.

    parameterU: number[]

    First local coordinate of every corner.

    parameterV: number[]

    Second local coordinate of every corner.

    positions: number[]

    Packed vertex positions in metres.

    Connectivity and edge sharpness.

    uvs: number[] | null

    Packed UV values, or null without UVs.