Пример #1
0
 public static extern bool UnityARCore_CpuImage_TryAcquireLatestImage(ImageType imageType,
                                                                      out XRCpuImage.Cinfo cameraImageCinfo);
Пример #2
0
 /// <summary>
 /// Tries to acquire the latest image of a particular type.
 /// </summary>
 /// <param name="imageType">The type of image to acquire.</param>
 /// <param name="cinfo">On success, populated with construction information information for a
 ///     <see cref="XRCpuImage"/>.</param>
 /// <returns>Returns `true` if the latest image of type <paramref name="imageType"/> was successfully acquired.
 ///     Returns `false` otherwise.</returns>
 public static bool TryAcquireLatestImage(ImageType imageType, out XRCpuImage.Cinfo cinfo)
 => NativeApi.UnityARCore_CpuImage_TryAcquireLatestImage(imageType, out cinfo);
Пример #3
0
 /// <summary>
 /// Tries to acquire the latest image of a particular type.
 /// </summary>
 /// <param name="imageType">The type of image to acquire.</param>
 /// <param name="cinfo">On success, populated with construction information information for a
 ///     <see cref="XRCpuImage"/>.</param>
 /// <returns>Returns `true` if the latest image of type <paramref name="imageType"/> was successfully acquired.
 ///     Returns `false` otherwise.</returns>
 public static bool TryAcquireLatestImage(ImageType imageType, out XRCpuImage.Cinfo cinfo)
 => Native.TryAcquireLatestImage(imageType, out cinfo);
Пример #4
0
 public static extern bool TryAcquireLatestImage(ImageType imageType, out XRCpuImage.Cinfo cinfo);
Пример #5
0
 /* TODO */
 public override bool TryAcquireHumanStencilCpuImage(out XRCpuImage.Cinfo cinfo) => base.TryAcquireHumanStencilCpuImage(out cinfo);
Пример #6
0
 /* TODO */
 public override bool TryAcquireEnvironmentDepthCpuImage(out XRCpuImage.Cinfo cinfo) => base.TryAcquireEnvironmentDepthCpuImage(out cinfo);
Пример #7
0
 public static bool TryAcquireLatestImage(ImageType imageType, out XRCpuImage.Cinfo cinfo)
 {
     throw new System.NotImplementedException(k_ExceptionMsg);
 }