/// <summary> /// Updates only the coefficients of the light probes (from <see cref="LightProbeComponent.Coefficients"/> to <see cref="LightProbeRuntimeData.Coefficients"/>). /// </summary> public void UpdateLightProbeCoefficients() { if (RuntimeData == null) { return; } LightProbeGenerator.UpdateCoefficients(RuntimeData); }
/// <summary> /// Updates only the coefficients of the light probes (from <see cref="LightProbeComponent.Coefficients"/> to <see cref="LightProbeRuntimeData.Coefficients"/>). /// </summary> public void UpdateLightProbeCoefficients() { var runtimeData = VisibilityGroup.Tags.Get(LightProbeRenderer.CurrentLightProbes); if (runtimeData == null) { return; } LightProbeGenerator.UpdateCoefficients(runtimeData); }