public static extern bool UnityARCore_CpuImage_TryAcquireLatestImage(ImageType imageType, out XRCpuImage.Cinfo cameraImageCinfo);
/// <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);
/// <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);
public static extern bool TryAcquireLatestImage(ImageType imageType, out XRCpuImage.Cinfo cinfo);
/* TODO */ public override bool TryAcquireHumanStencilCpuImage(out XRCpuImage.Cinfo cinfo) => base.TryAcquireHumanStencilCpuImage(out cinfo);
/* TODO */ public override bool TryAcquireEnvironmentDepthCpuImage(out XRCpuImage.Cinfo cinfo) => base.TryAcquireEnvironmentDepthCpuImage(out cinfo);
public static bool TryAcquireLatestImage(ImageType imageType, out XRCpuImage.Cinfo cinfo) { throw new System.NotImplementedException(k_ExceptionMsg); }