Skip to main content

Interface: ApplyPointwiseFunctionOptions

Defined in: src/animation/transform/ApplyPointwiseFunction.ts:15

Extends​

Properties​

duration?​

optional duration: number

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

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


func()?​

optional func: (point) => number[]

Defined in: src/animation/transform/ApplyPointwiseFunction.ts:17

Function to apply to each point [x, y, z] => [x', y', z']

Parameters​

point​

number[]

Returns​

number[]


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