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

    Constructors

    • Parameters

      • Optionalradius: number
      • Optionalalpha: number
      • Optionalbeta: number
      • OptionallowerRadiusLimit: number
      • OptionalupperRadiusLimit: number
      • OptionallowerAlphaLimit: number
      • OptionalupperAlphaLimit: number
      • OptionallowerBetaLimit: number
      • OptionalupperBetaLimit: number
      • OptionalangularSensibilityX: number
      • OptionalangularSensibilityY: number
      • OptionalpanningSensibility: number
      • OptionalwheelPrecision: number
      • OptionalmaxZ: number

      Returns ArcRotateCameraDto

    Properties

    radius: number

    Defines the camera distance from its target. This radius will be used to rotate the camera around the target as default.

    20
    

    0

    Infinity

    1

    target: Point3

    Target of the arc rotate camera. Camera will look at and rotate around this point by default.

    [0, 0, 0]
    
    alpha: number

    Defines the camera rotation along the longitudinal (horizontal) axis in degrees

    45
    

    -360

    360

    1

    beta: number

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

    70
    

    -360

    360

    1

    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

    1000
    

    0

    Infinity

    10

    angularSensibilityY: number

    Angular sensibility along y (vertical) axis of the camera

    1000
    

    0

    Infinity

    10

    panningSensibility: number

    Panning sensibility. The lower this number gets the faster camera will move when panning.

    1000
    

    0

    Infinity

    100

    wheelPrecision: number

    Wheel precision. The lower this number gets the faster camera will move when zooming.

    3
    

    0

    Infinity

    0.1

    maxZ: number

    Maximum distance the camera can see. Objects that are further away from the camera than this value will not be rendered.

    1000
    

    0

    Infinity

    10