TransitionCameraProjectionChange
Interface in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Interface
TypeScript#
interface TransitionCameraProjectionChangeThe projection a camera change of a TransitionStep ends in. Viewers that animate transitions change it smoothly, in the same flight as the rest of the change: the perspective narrows as its eye backs away, so what the camera looks at keeps its size, until it is orthographic (and the other way round). Without either key the camera keeps its projection. Other viewers keep theirs, and so does a view in 2D mode, which is orthographic
Members#
| Member | Kind | Description |
|---|---|---|
| fov | Property | A perspective's vertical field of view in degrees, above 0 and below 180; alone it means "perspective" |
| projection | Property | "orthographic", or "perspective" with fov (default the camera's own perspective field of view) |
fov#
TypeScript#
fov?: numberA perspective's vertical field of view in degrees, above 0 and below 180; alone it means "perspective"
projection#
TypeScript#
projection?: "perspective" | "orthographic""orthographic", or "perspective" with fov (default the camera's own perspective field of view)