DriftCapture · function

readProposals

The proposals a scene carries, in the order they were written.

Explained in DriftCapture.

function readProposals(scene: EntsScene): EntityProposal[]
import { readProposals } from '@driftengine/capture';

Parameters

ParameterTypeDescription
sceneEntsScene

In depth

The way back, and it is here rather than in an editor because the two halves have to agree about the field ids and one module holding both is how they stay that way. An entity that carries no proposal is skipped: a consumer may have added its own things to the same scene, and a capture reading a file is a guest in it.