Skip to main content

Interface: ApplyPointwiseFunctionToCenterOptions

Defined in: animation/transform/ApplyPointwiseFunctionToCenter.ts:19

Extends

Properties

duration?

optional duration: number

Defined in: animation/Animation.ts:14

Duration of the animation in seconds (default: 1)

Inherited from

AnimationOptions.duration


func()?

optional func: (point) => number[]

Defined in: animation/transform/ApplyPointwiseFunctionToCenter.ts:21

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

Parameters

point

number[]

Returns

number[]


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