Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CameraAdjustment

Index

Constructors

Methods

Constructors

constructor

  • new CameraAdjustment(viewer: Viewer, request: (callback: FrameRequestCallback) => number, density: number): CameraAdjustment
  • This object can be used to keep orthographic height aligned with the current perspective view and to keep camera position (distance) right for orthographic view

    Parameters

    • viewer: Viewer
    • request: (callback: FrameRequestCallback) => number
        • (callback: FrameRequestCallback): number
        • Parameters

          • callback: FrameRequestCallback

          Returns number

    • density: number

    Returns CameraAdjustment

Methods

adjust

  • adjust(density?: number): void

stop

  • stop(): void

watch

  • watch(latency?: number): void

Generated using TypeDoc