TransitionCameraFit
Interface in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Interface
TypeScript#
interface TransitionCameraFitA camera change of a TransitionStep: fit objects, as ObjectStateManager.viewFit does
Inheritance and interfaces#
Members#
| Member | Kind | Description |
|---|---|---|
| duration | Property | Milliseconds; default the step's duration |
| fit | Property | |
| fov | Property | A perspective's vertical field of view in degrees, above 0 and below 180; alone it means "perspective" inheritedFrom: TransitionCameraProjectionChange.fov |
| margin | Property | |
| projection | Property | "orthographic", or "perspective" with fov (default the camera's own perspective field of view) inheritedFrom: TransitionCameraProjectionChange.projection |
| updatePivot | Property | Make the fitted box's centre the orbit pivot; default true |
| viewDirection | Property |
duration#
TypeScript#
duration?: numberMilliseconds; default the step's duration
fit#
fov#
TypeScript#
fov?: numberA perspective's vertical field of view in degrees, above 0 and below 180; alone it means "perspective"
inheritedFrom: TransitionCameraProjectionChange.fov
margin#
TypeScript#
margin?: numberprojection#
TypeScript#
projection?: "perspective" | "orthographic""orthographic", or "perspective" with fov (default the camera's own perspective field of view)
inheritedFrom: TransitionCameraProjectionChange.projection
updatePivot#
TypeScript#
updatePivot?: booleanMake the fitted box's centre the orbit pivot; default true