Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

API: HDAdditionalLightData should have a property with public getter of useVolumetric field.

Discussion in 'High Definition Render Pipeline' started by tetto_green, Jan 23, 2020.

  1. tetto_green

    tetto_green

    Joined:
    Dec 22, 2015
    Posts:
    32
    Previously useVolumetric field was public then you made it private serialized field which is right. But you didn't make a property with a public getter for that field. For example, my method animates HDAdditionalLightData.volumetricDimmer only if the light uses volumetrics. Otherwise no need to do it. Now I can't filter lights by useVolumetric value. Please make the field great again! :)
     
    Bordeaux_Fox likes this.
  2. Shaunyowns

    Shaunyowns

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    328
    tetto_green likes this.
  3. tetto_green

    tetto_green

    Joined:
    Dec 22, 2015
    Posts:
    32
    Thanks!