コード例 #1
0
 /// <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="TryAcquireLatestImage"/>
 public override bool TryGetPlane(
     int nativeHandle,
     int planeIndex,
     out CameraImagePlaneCinfo planeCinfo)
 {
     return(NativeApi.UnityARKit_Camera_TryGetPlane(nativeHandle, planeIndex, out planeCinfo));
 }