CompConfig
type CompConfig = {
Type Alias: CompConfig
type CompConfig = {
backgroundColor: Color;
height: number;
width: number;
};Defined in: packages/motion/src/Runner.ts:90
What a composition IS: its pixel dimensions and background.
Remarks
Set at Scene.make and carried on every frame, so a frame is
self-describing. A nested scene keeps its own config as its bounds — that
is what a played scene clips and paints within.
Properties
backgroundColor
backgroundColor: Color;Defined in: packages/motion/src/Runner.ts:94
carried on every frame so renderers can paint it; transparent = nothing painted
height
height: number;Defined in: packages/motion/src/Runner.ts:92
width
width: number;Defined in: packages/motion/src/Runner.ts:91