Interface XGFStreamChunkRepSetOptions

Options for authoring one projected-size representation set inside each references-only stream chunk.

interface XGFStreamChunkRepSetOptions {
    allMinPixels?: number;
    allRepId?: string;
    coverageRatio?: number;
    dominantMaxPixels?: number;
    dominantObjectIds?: readonly string[];
    dominantRepId?: string;
    enabled?: boolean;
    hysteresisPixels?: number;
    idPrefix?: string;
    maxObjectRatio?: number;
    maxObjects?: number;
    minObjects?: number;
    regularMaxPixels?: number;
    regularMinPixels?: number;
    regularObjectIds?: readonly string[];
    regularRepId?: string;
}

Properties

allMinPixels?: number

Minimum projected size for the all-objects representation. Defaults to 260.

allRepId?: string

Default/all-objects representation ID. Defaults to "all".

coverageRatio?: number

Dominance score coverage target. Defaults to 0.72.

dominantMaxPixels?: number

Maximum projected size for the dominant representation. Defaults to 220.

dominantObjectIds?: readonly string[]

Optional explicit reduced-representation object IDs.

When supplied, each chunk's reduced representation contains the IDs from this set that are already present in that chunk. When omitted, the exporter falls back to visual-dominance ranking over the chunk's objects.

dominantRepId?: string

Reduced representation ID. Defaults to "dominant".

enabled?: boolean

Enables per-chunk representation-set creation.

hysteresisPixels?: number

Projected-size hysteresis in pixels. Defaults to 16.

idPrefix?: string

Representation-set ID prefix. Defaults to "chunk-lod".

maxObjectRatio?: number

Maximum dominant object fraction per chunk. Defaults to 0.25.

maxObjects?: number

Maximum dominant objects per chunk. Overrides maxObjectRatio when supplied.

minObjects?: number

Minimum dominant objects per chunk. Defaults to 1.

regularMaxPixels?: number

Maximum projected size for the middle-detail representation. Defaults to 260.

regularMinPixels?: number

Minimum projected size for the middle-detail representation. Defaults to 220.

regularObjectIds?: readonly string[]

Optional explicit middle-detail representation object IDs.

regularRepId?: string

Middle-detail representation ID. Defaults to "regular".