Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface P3dCameraOptions

Hierarchy

Index

Properties

Optional instant

instant: boolean

Move camera to target location instantly rather than doing animation

Optional location

location: { x: number; y: number; z: number }

Location of the camera, in scene space coordinates

Type declaration

  • x: number
  • y: number
  • z: number

Optional makeDefault

makeDefault: boolean

Make this the default camera orientation so that camera reset (double click, R button) reverts to this location instead

Optional target

target: { x: number; y: number; z: number }

Point that the camera is looking at and rotating around, in scene space coordinates

Type declaration

  • x: number
  • y: number
  • z: number

Generated using TypeDoc