Copy() public method

public Copy ( CameraState cameraStateIn ) : void
cameraStateIn CameraState
return void
        private void UpdateCameraArray()
        {
            // When we go from side by side or single view to zone or split, we want to copy the last selected camera as common.
            if (m_LookDevMode == LookDevMode.SideBySide || m_LookDevMode == LookDevMode.Single1 || m_LookDevMode == LookDevMode.Single2)
            {
                m_CameraState[0] = m_CameraStateLeft;
                m_CameraState[1] = m_CameraStateRight;
            }
            else
            {
                m_CameraState[0] = m_CameraStateCommon;
                m_CameraState[1] = m_CameraStateCommon;

                CameraState currentState = m_CurrentContextEdition == LookDevEditionContext.Left ? m_CameraStateLeft : m_CameraStateRight;
                m_CameraStateCommon.Copy(currentState);
            }
        }