Interface: TourStop
Defined in: src/mobjects/annotation/ExplainerTour.ts:76
One stop of a tour.
Properties
callouts?
optionalcallouts:TourCallout[]
Defined in: src/mobjects/annotation/ExplainerTour.ts:89
Callouts drawn after the camera arrives.
caption?
optionalcaption:CaptionContent
Defined in: src/mobjects/annotation/ExplainerTour.ts:85
Caption; null hides the card. Default: the target's getCaption(), else unchanged
dim?
optionaldim:boolean|FocusDimOptions
Defined in: src/mobjects/annotation/ExplainerTour.ts:96
Focus dim: true (default when there is a target) dims all but keep;
false restores everything; an options object tunes it.
emphasis?
optionalemphasis:"none"|Animation<Mobject> |"indicate"|"ring"
Defined in: src/mobjects/annotation/ExplainerTour.ts:121
Emphasis on the target once the camera arrives: 'indicate' (the repo's
Indicate, works on 3D meshes), 'ring' (a FocusRing drawn and
un-drawn around it), 'none', or an animation of your own (for example an
Indicate in the target's own colour). It plays with the callouts.
Default: 'none'
framing?
optionalframing:CameraFocusOptions
Defined in: src/mobjects/annotation/ExplainerTour.ts:83
Camera framing; merged over the target's getFocusFraming().
hold?
optionalhold:number
Defined in: src/mobjects/annotation/ExplainerTour.ts:113
Extra seconds to hold after the narration. Default: 1
inset?
optionalinset:TourInset
Defined in: src/mobjects/annotation/ExplainerTour.ts:91
Close-up inset drawn after the callouts.
keep?
optionalkeep:Mobject[]
Defined in: src/mobjects/annotation/ExplainerTour.ts:98
Mobjects kept in full colour. Default: [target] when it is a mobject
keepAnnotations?
optionalkeepAnnotations:boolean
Defined in: src/mobjects/annotation/ExplainerTour.ts:123
Keep this stop's callouts and inset on screen into the next stop. Default: false
narration?
optionalnarration:number| () =>Promise<void>
Defined in: src/mobjects/annotation/ExplainerTour.ts:111
Narration: a duration in seconds, counted from the stop start (the runner subtracts the time of its own animations; onEnter time is not counted), or an async callback started at the stop start and awaited before the hold.
onEnter()?
optionalonEnter: (scene,stop,player) =>Promise<void>
Defined in: src/mobjects/annotation/ExplainerTour.ts:104
Author hook, after callouts and inset: play your own animations here.
Play them through player (the scene, or a Player's recording proxy)
so they land on the same timeline as the tour.
Parameters
scene
stop
TourStop
player
Returns
Promise<void>
reveal?
optionalreveal:"steps"|"all"
Defined in: src/mobjects/annotation/ExplainerTour.ts:87
'steps' (default): title with the move, then each row; 'all': every row with the move.
target?
optionaltarget:Vector3Tuple|Mobject
Defined in: src/mobjects/annotation/ExplainerTour.ts:81
What the camera frames. No camera move when omitted. A mobject that implements TourTarget supplies defaults.