motionOverride property

Motion? Function(Track<Object> track)? get motionOverride

Chooses motions that replace the authored ones in future playback.

Called with each track when a plan starts. A returned motion replaces the motion of that track's target steps (TrackStep.to and TrackStep.at); null keeps the authored motions. Plans already playing are not affected.

Implementation

Motion? Function(Track<Object> track)? get motionOverride =>
    internalMotionOverride;
set motionOverride (Motion? value(Track<Object> track)?)

Implementation

set motionOverride(Motion? Function(Track<Object> track)? value) =>
    internalMotionOverride = value;