コード例 #1
0
        /// <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);
        }
コード例 #2
0
ファイル: LightProbeProcessor.cs プロジェクト: glepag1/stride
        /// <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);
        }