コード例 #1
0
 /// <summary>
 /// Get the current camera frame for the subsystem.
 /// </summary>
 /// <param name="cameraParams">The current Unity <c>Camera</c> parameters.</param>
 /// <param name="cameraFrame">The current camera frame returned by the method.</param>
 /// <returns>
 /// <c>true</c> if the method successfully got a frame. Otherwise, <c>false</c>.
 /// </returns>
 public override bool TryGetFrame(XRCameraParams cameraParams, out XRCameraFrame cameraFrame)
 {
     return(NativeApi.UnityARKit_Camera_TryGetFrame(cameraParams, out cameraFrame));
 }