MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / addTraceSelectors

Function addTraceSelectors

packages/cli/src/commands/keyframes.ts:632–634  ·  view source on GitHub ↗
(selectors: Set<string>, cmp: SurfacedComposition)

Source from the content-addressed store, hash-verified

630// every channel (rotation / scale / opacity / colour / 3D), not just x/y. A
631// 0-duration `set` is a pen-up marker, not motion.
632function addTraceSelectors(selectors: Set<string>, cmp: SurfacedComposition): void {
633 for (const tr of cmp.traces) selectors.add(tr.target);
634}
635
636function addTweenSelectors(selectors: Set<string>, cmp: SurfacedComposition): void {
637 for (const t of cmp.tweens) {

Callers 1

collectShotSelectorsFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected