imposedProps top-level constant
The imposed vocabulary: every node kind animates these.
Implementation
const imposedProps = <ScenePropSpec>[
ScenePropSpec(
'opacity',
TrackKind.number,
identity: 1,
softMin: 0,
softMax: 1,
entrance: 0,
),
ScenePropSpec(
'translateX',
TrackKind.number,
identity: 0,
unit: 'px',
softMin: -200,
softMax: 200,
entrance: 24,
),
ScenePropSpec(
'translateY',
TrackKind.number,
identity: 0,
unit: 'px',
softMin: -200,
softMax: 200,
entrance: 24,
),
ScenePropSpec(
'scale',
TrackKind.number,
identity: 1,
softMin: 0,
softMax: 2,
entrance: 0.92,
),
ScenePropSpec(
'rotate',
TrackKind.number,
identity: 0,
unit: '°',
angular: true,
softMin: -180,
softMax: 180,
entrance: -8,
),
];