/// <summary> /// Method to be implemented by the provider to get the camera intrinisics information. /// </summary> /// <param name="cameraIntrinsics">The camera intrinsics information returned from the method.</param> /// <returns> /// <c>true</c> if the method successfully gets the camera intrinsics information. Otherwise, <c>false</c>. /// </returns> public virtual bool TryGetIntrinsics( out XRCameraIntrinsics cameraIntrinsics) { cameraIntrinsics = default(XRCameraIntrinsics); return(false); }
/// <summary> /// Returns the camera intrinsics information. /// </summary> /// <param name="cameraIntrinsics">The camera intrinsics information returned from the method.</param> /// <returns> /// <c>true</c> if the method successfully gets the camera intrinsics information. Otherwise, <c>false</c>. /// </returns> public bool TryGetIntrinsics(out XRCameraIntrinsics cameraIntrinsics) { return(m_Provider.TryGetIntrinsics(out cameraIntrinsics)); }