BakeOptions class

Constructors

BakeOptions({bool bakeRandomAndWiggle = true, bool bakeOnKeyframedProperties = true, bool bakeShapePathWiggle = true, bool bakeApproximateEasing = true})
const

Properties

bakeApproximateEasing bool
Bake ease()/easeIn()/easeOut() calls. Unlike linear() (an exact formula), these approximate After Effects' bezier-based easing with a quadratic/smoothstep curve — close, but not a bit-exact match. Turn this off to leave any expression using them unsupported; linear() and everything else are unaffected.
final
bakeOnKeyframedProperties bool
Bake a supported expression on a property that's already keyframed (not just "a": 0), using the property's own original keyframe curve — linearly resampled, not the authored bezier easing — as the per-frame value/wiggle() base. This replaces the property's real keyframes with a dense per-frame bake, a bigger structural change than baking a never-keyframed property. Turn this off to leave every expression on an already-keyframed property unsupported, matching versions of this package before 0.3.0.
final
bakeRandomAndWiggle bool
Bake random()/wiggle() expressions at all. After Effects' own noise/PRNG is proprietary, so these are baked as a seeded, deterministic approximation — reproducible across builds, but not a bit-exact match to what AE itself renders. Turn this off to leave any expression using random()/wiggle() unsupported instead (this also disables bakeShapePathWiggle, since that mechanism is wiggle-only).
final
bakeShapePathWiggle bool
Bake a wiggle()-only expression on a shape path (ty: "sh"'s ks), wiggling each vertex independently. This is a newer, more speculative mechanism than the numeric/vector bake path, and only takes effect when bakeRandomAndWiggle is also on. Turn this off to leave every expression on a shape path unsupported.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited