Bitbybit Docs
    Preparing search index...

    Class ArcRotateCameraDto (Inputs.BabylonCamera)

    Feeds babylon.camera.arcRotate.create: where the orbiting camera starts around its target, how far it can zoom and orbit, and how fast it reacts.

    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

    Distance from the target the camera starts at, in scene units

    20
    

    0

    Infinity

    1

    target: Point3

    The point the camera looks at and orbits around

    [0, 0, 0]
    
    alpha: number

    The camera's angle around the vertical axis, in degrees

    45
    

    -360

    360

    1

    beta: number

    The camera's angle down from straight above, in degrees; 90 is level with the target

    70
    

    -360

    360

    1

    lowerRadiusLimit?: number

    The closest the camera may zoom to the target, in scene units; left out, there is no limit

    undefined
    

    -Infinity

    Infinity

    1

    true

    upperRadiusLimit?: number

    The farthest the camera may zoom from the target, in scene units; left out, there is no limit

    undefined
    

    -Infinity

    Infinity

    1

    true

    lowerAlphaLimit?: number

    The smallest angle around the vertical axis the camera may orbit to, in degrees; left out, it orbits freely

    undefined
    

    -360

    360

    1

    true

    upperAlphaLimit?: number

    The largest angle around the vertical axis the camera may orbit to, in degrees; left out, it orbits freely

    undefined
    

    -360

    360

    1

    true

    lowerBetaLimit: number

    How close to straight above the camera may go, in degrees down from the top; 0 would look straight down

    1
    

    -360

    360

    1

    upperBetaLimit: number

    How close to straight below the camera may go, in degrees down from the top; 180 would look straight up

    179
    

    -360

    360

    1

    angularSensibilityX: number

    How much pointer movement a horizontal orbit takes; lower turns faster

    1000
    

    0

    Infinity

    10

    angularSensibilityY: number

    How much pointer movement a vertical orbit takes; lower turns faster

    1000
    

    0

    Infinity

    10

    panningSensibility: number

    How much pointer movement a pan takes; lower pans faster, so lower it for large models

    1000
    

    0

    Infinity

    100

    wheelPrecision: number

    How much wheel movement a zoom step takes; lower zooms faster, so lower it for large models

    3
    

    0

    Infinity

    0.1

    maxZ: number

    The farthest distance the camera draws, in scene units; anything beyond is not rendered

    1000
    

    0

    Infinity

    10