public override void Update()
        {
            operations = 0;

            SetModeTarget(data.mode.hasMultipleDifferentValues ? -1 : data.mode.intValue);
            SetShapeTarget(data.influenceVolume.shape.hasMultipleDifferentValues ? -1 : data.influenceVolume.shape.intValue);

            influenceVolume.Update();
            base.Update();
        }
Exemplo n.º 2
0
        public override void Update()
        {
            for (var i = 0; i < k_ReflectionProbeModeCount; i++)
            {
                m_AnimBools[i].target = i == data.mode.intValue;
            }

            SetModeTarget(data.mode.hasMultipleDifferentValues ? -1 : data.mode.intValue);
            influenceVolume.SetIsSectionExpanded_Shape(data.influenceVolume.shape.hasMultipleDifferentValues ? -1 : data.influenceVolume.shape.intValue);

            frameSettings.Update();
            influenceVolume.Update();
            base.Update();
        }
        public override void Update()
        {
            for (var i = 0; i < k_ReflectionProbeModeModeCount; i++)
            {
                m_AnimBools[i].target = i == data.mode.intValue;
            }

            isSectionExpandedCaptureMirrorSettings.target = data.isMirrored;
            isSectionExpandedCaptureStaticSettings.target = !data.isMirrored;

            reflectionProxyVolume.Update();
            frameSettings.Update();
            influenceVolume.Update();
            base.Update();
        }
Exemplo n.º 4
0
        public override void Update()
        {
            for (var i = 0; i < k_ReflectionProbeModeCount; i++)
            {
                m_AnimBools[i].target = i == data.mode.intValue;
            }

            SetModeTarget(data.mode.hasMultipleDifferentValues ? -1 : data.mode.intValue);
            influenceVolume.SetIsSectionExpanded_Shape(data.influenceVolume.shape.hasMultipleDifferentValues ? -1 : data.influenceVolume.shape.intValue);

            captureSettings.Update();
            bool frameSettingsOverriden = data.captureSettings.renderingPath.enumValueIndex == (int)HDAdditionalCameraData.RenderingPath.Custom;

            isFrameSettingsOverriden.value = frameSettingsOverriden;
            if (frameSettingsOverriden)
            {
                frameSettings.Update();
            }
            influenceVolume.Update();
            base.Update();
        }