Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CameraConfigurationDto

Index

Constructors

constructor

  • new CameraConfigurationDto(position?: Point3, lookAt?: Point3, lowerBetaLimit?: number, upperBetaLimit?: number, angularSensibilityX?: number, angularSensibilityY?: number, maxZ?: number, panningSensibility?: number, wheelPrecision?: number): CameraConfigurationDto
  • Parameters

    • Optional position: Point3
    • Optional lookAt: Point3
    • Optional lowerBetaLimit: number
    • Optional upperBetaLimit: number
    • Optional angularSensibilityX: number
    • Optional angularSensibilityY: number
    • Optional maxZ: number
    • Optional panningSensibility: number
    • Optional wheelPrecision: number

    Returns CameraConfigurationDto

Properties

angularSensibilityX

angularSensibilityX: number

Angular sensibility along x (horizontal) axis of the camera. The lower this number, the faster the camera will move.

default

1000

minimum

0

maximum

Infinity

step

10

angularSensibilityY

angularSensibilityY: number

Angular sensibility along y (vertical) axis of the camera. The lower this number, the faster the camera will move.

default

1000

minimum

0

maximum

Infinity

step

10

lookAt

lookAt: Point3

Look at

lowerBetaLimit

lowerBetaLimit: number

Lower beta limit - camera rotation along the latitudinal (vertical) axis in degrees. This is counted from the top down, where 0 is looking from top straight down.

default

1

minimum

-360

maximum

360

step

1

maxZ

maxZ: number

Change how far the camera can see

default

1000

minimum

0

maximum

Infinity

step

1

panningSensibility

panningSensibility: number

Panning sensibility. If large units are used for the model, this number needs to get smaller

default

1000

minimum

0

maximum

Infinity

step

0.1

position

position: Point3

Position of the point light

default

[10, 10, 10]

upperBetaLimit

upperBetaLimit: number

Upper beta limit - camera rotation along the longitudinal (vertical) axis in degrees. This is counted from the top down, where 180 is looking from bottom straight up.

default

179

minimum

-360

maximum

360

step

1

wheelPrecision

wheelPrecision: number

Zoom precision of the wheel. If large units are used, this number needs to get smaller

default

3

minimum

0

maximum

Infinity

step

0.1

Generated using TypeDoc