Skip to main content

flywave-map-controls.cameraanimationbuilder.appendcontrolpoint

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

CameraAnimationBuilder.appendControlPoint() 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.

Appends a [[ControlPoint]] to [[CameraKeyTrackAnimationOptions]]

Signature:

static appendControlPoint(options: CameraKeyTrackAnimationOptions, point: ControlPoint, appendTime?: number): void;

Parameters

Parameter

Type

Description

options

CameraKeyTrackAnimationOptions

The [[CameraKeyTrackAnimationOptions]] that the [[ControlPoint]] should be appended to

point

ControlPoint

The [[ControlPoint]] to append.

appendTime

number

(Optional) The time it should take from the former end of the animation to the appended [[ControlPoint]] in seconds, per default takes the controlpoints timestamp

Returns:



void