FIx compilation on some platforms.
This commit is contained in:
@@ -416,6 +416,7 @@ namespace VIVE.OpenXR.CompositionLayer.Passthrough
|
||||
#if UNITY_ANDROID
|
||||
return passthroughFeature.HTCPassthrough_DestroyPassthrough(passthroughID);
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -474,6 +475,7 @@ namespace VIVE.OpenXR.CompositionLayer.Passthrough
|
||||
else
|
||||
return false;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -545,6 +547,7 @@ namespace VIVE.OpenXR.CompositionLayer.Passthrough
|
||||
#if UNITY_ANDROID
|
||||
return passthroughFeature.HTCPassthrough_SetMesh(passthroughID, (uint)vertexBuffer.Length, vertexBufferXrVector, (uint)indexBuffer.Length, indexBufferUint); ;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -623,6 +626,7 @@ namespace VIVE.OpenXR.CompositionLayer.Passthrough
|
||||
#if UNITY_ANDROID
|
||||
return passthroughFeature.HTCPassthrough_SetMeshTransform(passthroughID, passthroughFeature.GetXrSpaceFromSpaceType(spaceType), meshXrPose, meshXrScale);
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -661,7 +665,7 @@ namespace VIVE.OpenXR.CompositionLayer.Passthrough
|
||||
#if UNITY_ANDROID
|
||||
return passthroughFeature.HTCPassthrough_SetLayerType(passthroughID, layerType, compositionDepth);
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -702,6 +706,7 @@ namespace VIVE.OpenXR.CompositionLayer.Passthrough
|
||||
#if UNITY_ANDROID
|
||||
return passthroughFeature.HTCPassthrough_SetMeshTransformSpace(passthroughID, passthroughFeature.GetXrSpaceFromSpaceType(spaceType));
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -764,6 +769,7 @@ namespace VIVE.OpenXR.CompositionLayer.Passthrough
|
||||
#if UNITY_ANDROID
|
||||
return passthroughFeature.HTCPassthrough_SetMeshTransformPosition(passthroughID, OpenXRHelper.ToOpenXRVector(trackingSpaceMeshPosition, convertFromUnityToOpenXR));
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -826,6 +832,7 @@ namespace VIVE.OpenXR.CompositionLayer.Passthrough
|
||||
#if UNITY_ANDROID
|
||||
return passthroughFeature.HTCPassthrough_SetMeshTransformOrientation(passthroughID, OpenXRHelper.ToOpenXRQuaternion(trackingSpaceMeshRotation, convertFromUnityToOpenXR));
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -867,6 +874,7 @@ namespace VIVE.OpenXR.CompositionLayer.Passthrough
|
||||
#if UNITY_ANDROID
|
||||
return passthroughFeature.HTCPassthrough_SetMeshTransformScale(passthroughID, OpenXRHelper.ToOpenXRVector(meshScale, false));
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user