HDRP Directional light size

Good day everyone,

I’m trying to create night lighting scene where the moon (directional light in a physically based sky) varies in distance over time (getting larger and smaller). In the editor I can set angular diameter (e.g. 0.5 on average) but I need to be able to modify this value during runtime. I have not been able to find a code attribute that gives me access to this parameter. Anybody have any ideas or workarounds?

See HDAdditionalLightData Class HDAdditionalLightData | High Definition RP | 8.1.0

HRDP Directional light is depending upon the Angular diameter of the emissive celestial body represented by the light as seen from the camera (in degrees). Used to render the sun/moon disk.