Methods
View

setTransitionSettings

Set transition settings.

Transition settings apply to setViewpoint, lookAt and lookAtBoundingBox methods.

Example



Usage

JS


Parameters

transitionSettings

The transition settings.

Type

Required

Object

Yes

Properties

Name

Type

Required

Description

duration

Number

No

Transition duration in milliseconds

easing

String

No

Transition easing function

easing

Find available easing functions here.

The default easing function is LinearNone, provide a different function by passing the function name as a string with no dot. For example Quadratic.In becomes QuadraticIn.