bitbybit.dev v1.0.0-rc.1
    Preparing search index...
    Index

    Constructors

    • Parameters

      • Optionalposition: Point3
      • OptionallookAt: Point3
      • OptionallowerRadiusLimit: number
      • OptionalupperRadiusLimit: number
      • OptionallowerAlphaLimit: number
      • OptionalupperAlphaLimit: number
      • OptionallowerBetaLimit: number
      • OptionalupperBetaLimit: number
      • OptionalangularSensibilityX: number
      • OptionalangularSensibilityY: number
      • OptionalmaxZ: number
      • OptionalpanningSensibility: number
      • OptionalwheelPrecision: number

      Returns CameraConfigurationDto

    Properties

    position: Point3

    Position of the point light

    [10, 10, 10]
    
    lookAt: Point3

    Look at

    lowerRadiusLimit: any

    Lower radius limit - how close can the camera be to the target

    undefined
    

    -Infinity

    Infinity

    1

    true

    upperRadiusLimit: any

    Upper radius limit - how far can the camera be from the target

    undefined
    

    -Infinity

    Infinity

    1

    true

    lowerAlphaLimit: any

    Lower alpha limit - camera rotation along the longitudinal (horizontal) axis in degrees.

    undefined
    

    -360

    360

    1

    true

    upperAlphaLimit: any

    Upper alpha limit - camera rotation along the longitudinal (horizontal) axis in degrees.

    undefined
    

    -360

    360

    1

    true

    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.

    1
    

    -360

    360

    1

    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.

    179
    

    -360

    360

    1

    angularSensibilityX: number

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

    1000
    

    0

    Infinity

    10

    angularSensibilityY: number

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

    1000
    

    0

    Infinity

    10

    maxZ: number

    Change how far the camera can see

    1000
    

    0

    Infinity

    1

    panningSensibility: number

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

    1000
    

    0

    Infinity

    0.1

    wheelPrecision: number

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

    3
    

    0

    Infinity

    0.1