Skip to main content

Interface: Create3DOptions

Defined in: src/animation/creation/Create3D.ts:223

Options for Create3D.

Extends​

Properties​

axis?​

optional axis: SweepAxis

Defined in: src/animation/creation/Create3D.ts:229

Sweep axis for the outline. Default: 'auto' (longest side).


duration?​

optional duration: number

Defined in: src/animation/Animation.ts:16

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


outlineFraction?​

optional outlineFraction: number

Defined in: src/animation/creation/Create3D.ts:225

Part of the run time for the outline phase, from 0 to 1. Default: 0.5.


outlineReveal?​

optional outlineReveal: "fade" | "sweep"

Defined in: src/animation/creation/Create3D.ts:227

How the outline appears: 'sweep' along an axis (default) or 'fade'.


rateFunc?​

optional rateFunc: RateFunction

Defined in: src/animation/Animation.ts:18

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

Inherited from​

AnimationOptions.rateFunc


shift?​

optional shift: [number, number, number]

Defined in: src/animation/Animation.ts:20

Shift direction for fade animations

Inherited from​

AnimationOptions.shift