Skip to main content

Interface: RotateOptions

Defined in: animation/movement/Rotate.ts:9

Extends

Properties

aboutPoint?

optional aboutPoint: Vector3Tuple

Defined in: animation/movement/Rotate.ts:15

Point to rotate about, defaults to mobject center


angle

angle: number

Defined in: animation/movement/Rotate.ts:11

Angle to rotate in radians


axis?

optional axis: Vector3Tuple

Defined in: animation/movement/Rotate.ts:13

Axis of rotation [x, y, z], defaults to Z axis [0, 0, 1]


duration?

optional duration: number

Defined in: animation/Animation.ts:14

Duration of the animation in seconds (default: 1)

Inherited from

AnimationOptions.duration


rateFunc?

optional rateFunc: RateFunction

Defined in: animation/Animation.ts:16

Rate function controlling the animation's pacing (default: smooth)

Inherited from

AnimationOptions.rateFunc


shift?

optional shift: [number, number, number]

Defined in: animation/Animation.ts:18

Shift direction for fade animations

Inherited from

AnimationOptions.shift