Bitbybit Docs
    Preparing search index...

    Class UseSunPositionDto (Inputs.BabylonMaterial)

    Feeds babylon.material.skyMaterial.setUseSunPosition with a sky material and which way its sun is placed.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmaterial: SkyMaterial
      • OptionaluseSunPosition: boolean

      Returns UseSunPositionDto

    Properties

    material: SkyMaterial

    The sky material to change in place

    undefined
    
    useSunPosition?: boolean

    When true, the sun is placed from sunPosition; when false, from inclination and azimuth

    false