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

    Constructors

    • Parameters

      • Optionalmeshes: Mesh[]
      • OptionalincludeChildren: boolean
      • OptionalanimationSpeed: number
      • Optionaloffset: number
      • OptionaldoNotUpdateMaxZ: boolean

      Returns ZoomOnDto

    Properties

    meshes: Mesh[]

    List of meshes to zoom on

    []
    
    includeChildren: boolean

    Whether to include children when analyzing bounding boxes

    true
    
    animationSpeed: number

    Speed of camera animation in seconds

    0.8
    

    0.01

    Infinity

    0.01

    offset: number

    Offset multiplier to control spacing around objects Negative values = tighter framing (closer to object) 0 = default BabylonJS framing (has built-in padding) Positive values = more space around object

    0
    

    -0.9

    Infinity

    0.1

    doNotUpdateMaxZ: boolean

    Whether to prevent updating camera's maxZ (far clipping plane) during zoom

    true