Interface SceneGeometryFrameParams

Backwards-compatible name for older complete timed geometry frames.

Use SceneGeometryVertexStateParams. Timing now belongs to SceneAnimation vertex-state channels.

interface SceneGeometryFrameParams {
    id?: string;
    name?: string;
    normals?: FloatArrayParam;
    positions: FloatArrayParam;
    time?: number;
    uvs?: FloatArrayParam;
}

Hierarchy (View Summary)

Properties

id?: string

Stable optional ID for this complete vertex state.

name?: string

Human-readable optional name.

normals?: FloatArrayParam

Flat array of uncompressed floating-point 3D vertex normals.

Optional. When supplied, length must equal positions.length.

positions: FloatArrayParam

Flat array of uncompressed floating point 3D vertex positions.

time?: number

Timing belongs to SceneAnimation.

Flat array of uncompressed floating-point UV coordinates.

Optional. When supplied, length must equal positions.length / 3 * 2. When every frame supplies UVs, renderers interpolate them; when omitted, renderers use the base/static geometry UVs when available.