Example #1
0
 /// <inheritdoc/>
 public override void UpdateRenderingMethod()
 {
     if (_initialized)
     {
         // Update the transforms of the focal surface to match the focal length.
         _helperFocalSurfaces.UpdateFocalSurfaceTransforms(PMPerViewMeshesFS.meshTransforms);
     }
 }
        /// <inheritdoc/>
        public override void UpdateRenderingMethod()
        {
            if (_initialized)
            {
#if UNITY_EDITOR
                // Update whether the colors represent the camera indices.
                cameraSetup.SetColorIsIndices(ref blendingMaterial);
#endif //UNITY_EDITOR
                // Update the command buffer.
                UpdateCommandBuffer();
                // Update the transforms of the focal surface to match the focal length.
                _helperFocalSurfaces.UpdateFocalSurfaceTransforms(PMPerViewMeshesFS.meshTransforms);
            }
        }