Reference·JavaScript · @bimworks/viewercommonJavaScript

TransitionCameraPose

Interface in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Interface

TypeScript#
interface TransitionCameraPose

A camera change of a TransitionStep: move to a pose (render frame, mm, as Camera.interpolateView takes it). Only viewers that animate transitions apply it; a view in 2D mode ignores it

Inheritance and interfaces#

Members#

Member Kind Description
duration Property Milliseconds; default the step's duration
eye Property
fov Property A perspective's vertical field of view in degrees, above 0 and below 180; alone it means "perspective" inheritedFrom: TransitionCameraProjectionChange.fov
pivot Property
projection Property "orthographic", or "perspective" with fov (default the camera's own perspective field of view) inheritedFrom: TransitionCameraProjectionChange.projection
target Property
up Property

duration#

TypeScript#
duration?: number

Milliseconds; default the step's duration

eye#

TypeScript#
eye: vec3

fov#

TypeScript#
fov?: number

A perspective's vertical field of view in degrees, above 0 and below 180; alone it means "perspective"

inheritedFrom: TransitionCameraProjectionChange.fov

pivot#

TypeScript#
pivot?: vec3

projection#

TypeScript#
projection?: "perspective" | "orthographic"

"orthographic", or "perspective" with fov (default the camera's own perspective field of view)

inheritedFrom: TransitionCameraProjectionChange.projection

target#

TypeScript#
target: vec3

up#

TypeScript#
up?: vec3