问题:(错误在VRIntegrationHelper.cs脚本中)
error CS1061: Type UnityEngine.Camera' does not contain a definition for
SetStereoProjectionMatrices’ and no extension method SetStereoProjectionMatrices' of type
UnityEngine.Camera’ could be found. Are you missing an assembly reference?
解决方法 (使用SetStereoProjectionMatrix替代SetStereoProjectionMatrices):
双击错误进去脚本 ,原来的代码:
mLeftCamera.SetStereoProjectionMatrices(mLeftCamera.projectionMatrix, mRightCamera.projectionMatrix);
mRightCamera.SetStereoProjectionMatrices(mLeftCamera.projectionMatrix, mRightCamera.projectionMatrix);
修改后的代码:
mLeftCamera.SetStereoProjectionMatrix(Camera.StereoscopicEye.Left, mRightCamera.projectionMatrix);
mRightCamera.SetStereoProjectionMatrix(Camera.StereoscopicEye.Right, mRightCamera.projectionMatrix);
高通ar 导出android apk报错 Assets/Vuforia/Scripts/Utilities/VRIntegrationHelper.cs(99,29): error CS1061
猜你喜欢
转载自blog.csdn.net/qq_42987283/article/details/85223461
今日推荐
周排行