Bitbybit Docs
    Preparing search index...

    Class CameraConfigurationDto (Inputs.BabylonScene)

    Feeds babylon.scene.adjustActiveArcRotateCamera: where the default orbiting camera goes, what it looks at, and its optional limits and sensitivities.

    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

    Where the camera is placed; its orbit radius becomes the distance to lookAt

    [10, 10, 10]
    
    lookAt: Point3

    The point the camera looks at and orbits around

    lowerRadiusLimit?: number

    The closest the camera may zoom to the target, in scene units; left out, it is not changed

    undefined
    

    -Infinity

    Infinity

    1

    true

    upperRadiusLimit?: number

    The farthest the camera may zoom from the target, in scene units; left out, it is not changed

    undefined
    

    -Infinity

    Infinity

    1

    true

    lowerAlphaLimit?: number

    The smallest angle around the vertical axis the camera may orbit to, in degrees; left out, it is not changed

    undefined
    

    -360

    360

    1

    true

    upperAlphaLimit?: number

    The largest angle around the vertical axis the camera may orbit to, in degrees; left out, it is not changed

    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

    maxZ: number

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

    1000
    

    0

    Infinity

    1

    panningSensibility: number

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

    1000
    

    0

    Infinity

    0.1

    wheelPrecision: number

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

    3
    

    0

    Infinity

    0.1