Bitbybit Docs
    Preparing search index...

    Class RayleighDto (Inputs.BabylonMaterial)

    Feeds babylon.material.skyMaterial.setRayleigh with a sky material and its new Rayleigh scattering.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmaterial: SkyMaterial
      • Optionalrayleigh: number

      Returns RayleighDto

    Properties

    material: SkyMaterial

    The sky material to change in place

    undefined
    
    rayleigh?: number

    How strongly light scatters the way that makes a clear sky blue; higher is a deeper blue

    2
    

    0

    Infinity

    1