Skip to main content

flywave-map-controls.cameraanimationbuilder.prependcontrolpoint

Home > @flywave/flywave-map-controls > CameraAnimationBuilder > prependControlPoint

CameraAnimationBuilder.prependControlPoint() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Adds a [[ControlPoint]] to the beginning of an [[CameraKeyTrackAnimationOptions]]

Signature:

static prependControlPoint(options: CameraKeyTrackAnimationOptions, point: ControlPoint, prependTime?: number): void;

Parameters

Parameter

Type

Description

options

CameraKeyTrackAnimationOptions

point

ControlPoint

prependTime

number

(Optional) The time the animation from the inserted key to the next should take, in seconds, 10 seconds

Returns:



void