@property
    def sun_vector(self):
        sun_altitude = self.get_daytime_setting("sun_altitude")
        sun_azimuth = self.get_daytime_setting("sun_azimuth")
        theta = (90 - sun_altitude) / 180.0 * math.pi
        phi = sun_azimuth / 180.0 * math.pi
        sun_vector = Vec3(
            math.sin(theta) * math.cos(phi),
            math.sin(theta) * math.sin(phi),
            math.cos(theta))
        return sun_vector
Ensures a given DS node is present in the /Search path.
dataset/ETHPy150Open tobspr/RenderPipeline/rpplugins/scattering/plugin.py/Plugin.sun_vector--crossover with--dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/ds.py/EnsureSearchNodePresent