Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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:
    35
    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

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

    tetto_green

    Joined:
    Dec 22, 2015
    Posts:
    35
    Thanks!