effect-motion
API Referenceeffect-motionNamespacesRunnerType aliases

CompFrame

type CompFrame = CompConfig & {

Type Alias: CompFrame

type CompFrame = CompConfig & {
  camera: Projection.CameraView & Projection.PointOfInterest;
};

Defined in: packages/motion/src/Runner.ts:102

A mounted scene as a frame carries it: its bounds plus the view of the child's OWN active camera, resolved this frame. The renderer draws the comp through it, so a child renders exactly as it does standalone.

Type Declaration

camera

readonly camera: Projection.CameraView & Projection.PointOfInterest;

On this page