← back to roto on ba3a.dev

CoverageReader

class CoverageReader(project: Project, profileId: String, profile: Profile, folder: ProfileFolder, base: BaseProfile? = null)

Reads where each action and facing of one profile stands: from its clips, their handoffs, the mirror opt-in, its models and what was published for it.

It reads one cell at a time, so a caller can fill a matrix cell by cell off the UI thread. Reading changes nothing on disk, and the same files give equal results.

Constructors

Link copied to clipboard
constructor(project: Project, profileId: String, profile: Profile, folder: ProfileFolder, base: BaseProfile? = null)

Functions

Link copied to clipboard
fun cell(action: String, facing: String): CoverageCell

The cell of action and facing, which both must be in roto.json.

Link copied to clipboard

Every cell of the project's actions and facings, as a matrix.