/// <summary> /// Get information about an image plane from a native image handle by index. /// </summary> /// <param name="nativeHandle">A unique identifier for this camera image.</param> /// <param name="planeIndex">The index of the plane to get.</param> /// <param name="planeCinfo">The returned camera plane information if successful.</param> /// <returns> /// <c>true</c> if the image plane was acquired. Otherwise, <c>false</c>. /// </returns> public override bool TryGetPlane( int nativeHandle, int planeIndex, out XRCpuImage.Plane.Cinfo planeCinfo) { return(Native.TryGetPlane(nativeHandle, planeIndex, out planeCinfo)); }
/// <summary> /// Get information about an image plane from a native image handle by index. /// </summary> /// <param name="nativeHandle">A unique identifier for this camera image.</param> /// <param name="planeIndex">The index of the plane to get.</param> /// <param name="planeCinfo">The returned camera plane information if successful.</param> /// <returns> /// <c>true</c> if the image plane was acquired. Otherwise, <c>false</c>. /// </returns> /// <seealso cref="Provider.TryAcquireLatestCpuImage"/> public override bool TryGetPlane(int nativeHandle, int planeIndex, out XRCpuImage.Plane.Cinfo planeCinfo) => NativeApi.UnityARCore_CpuImage_TryGetPlane(nativeHandle, planeIndex, out planeCinfo);
public static extern bool UnityARCore_CpuImage_TryGetPlane(int nativeHandle, int planeIndex, out XRCpuImage.Plane.Cinfo planeCinfo);
public static bool TryGetPlane( int nativeHandle, int planeIndex, out XRCpuImage.Plane.Cinfo planeCinfo) { throw new System.NotImplementedException(k_ExceptionMsg); }