Class: CellTour
Defined in: src/mobjects/biology/cell3d/CellTour.ts:45
Extends
Constructors
Constructor
new CellTour(
scene,cell,options):CellTour
Defined in: src/mobjects/biology/cell3d/CellTour.ts:52
Parameters
scene
cell
options
CellTourOptions = {}
Returns
CellTour
Overrides
Properties
card
readonlycard:CaptionCard
Defined in: src/mobjects/annotation/ExplainerTour.ts:179
Inherited from
cell
readonlycell:Cell3D
Defined in: src/mobjects/biology/cell3d/CellTour.ts:46
scene
readonlyscene:ThreeDScene
Defined in: src/mobjects/annotation/ExplainerTour.ts:178
Inherited from
Methods
annotationAnimations()
Defined in: src/mobjects/annotation/ExplainerTour.ts:319
Step 3: build the stop's emphasis, callouts and inset and return their entry animations.
Parameters
stop
Returns
Inherited from
ExplainerTour.annotationAnimations
captionFor()
captionFor(
stop):CaptionContent
Defined in: src/mobjects/annotation/ExplainerTour.ts:257
The caption of a stop (undefined = keep the current one).
Parameters
stop
Returns
Inherited from
dispose()
dispose():
void
Defined in: src/mobjects/annotation/ExplainerTour.ts:353
Stop every annotation the tour created from following its anchor. Call it when the scene (and any Player timeline) is done.
Returns
void
Inherited from
emphasisAnimation()
Defined in: src/mobjects/annotation/ExplainerTour.ts:309
Emphasis on the target ('indicate' or 'ring'), or null.
Parameters
stop
Returns
Inherited from
ExplainerTour.emphasisAnimation
enterAnimations()
Defined in: src/mobjects/biology/cell3d/CellTour.ts:62
The tour's enter animations, plus the crowd clearing round the stop target.
Parameters
stop
Returns
Overrides
exitAnnotations()
Defined in: src/mobjects/biology/cell3d/CellTour.ts:102
The exit animations; in finish also the crowd's return.
Returns
Overrides
finish()
finish():
Promise<void>
Defined in: src/mobjects/biology/cell3d/CellTour.ts:92
Fade the annotations, the dim and the caption away, and bring the crowd back.
Returns
Promise<void>
Overrides
framingFor()
framingFor(
stop):CameraFocusOptions
Defined in: src/mobjects/annotation/ExplainerTour.ts:251
The camera framing of a stop: tour default < target default < stop.
Parameters
stop
Returns
Inherited from
playStop()
playStop(
stop):Promise<void>
Defined in: src/mobjects/annotation/ExplainerTour.ts:206
Play one stop: the composition described in the class comment.
A narration callback runs in parallel with the stop's animations. If it
rejects, or an animation or onEnter rejects, the returned promise
rejects with that error (an animation error first, since it comes first in
the stop). A narration error after an animation error is logged.
Parameters
stop
Returns
Promise<void>
Inherited from
resolveAnchor()
resolveAnchor(
stop,anchor):object
Defined in: src/mobjects/annotation/ExplainerTour.ts:263
Resolve a callout/inset anchor: a name goes through target.getAnchor().
Parameters
stop
anchor
string | AnchorTarget
Returns
object
anchor
anchor:
AnchorTarget
local?
optionallocal:Vector3Tuple
Inherited from
revealSteps()
Defined in: src/mobjects/annotation/ExplainerTour.ts:301
Step 2: one animation per remaining caption row.
Parameters
stop
Returns
Inherited from
run()
run(
stops):Promise<void>
Defined in: src/mobjects/annotation/ExplainerTour.ts:194
Play every stop in order.
Parameters
stops
TourStop[]
Returns
Promise<void>