Bitbybit Docs
    Preparing search index...

    Class DistanceDto (Inputs.BabylonMaterial)

    Feeds babylon.material.skyMaterial.setDistance with a sky material and how far its dome sits from the camera.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmaterial: SkyMaterial
      • Optionaldistance: number

      Returns DistanceDto

    Properties

    material: SkyMaterial

    The sky material to change in place

    undefined
    
    distance?: number

    How far the sky dome sits from the camera, which changes how the horizon reads

    500
    

    0

    Infinity

    10