static internal extern bool UnityARCore_trySetPlaneDetectionFlags(PlaneDetectionFlags flags);
static internal bool UnityARCore_trySetPlaneDetectionFlags(PlaneDetectionFlags flags) { return(false); }
/// <summary> /// Attempt to set the <see cref="PlaneDetectionFlags"/>. /// </summary> /// <param name="planeSubsystem">The <c>XRPlaneSubsystem</c> being extended.</param> /// <param name="flags">The plane detection mode(s) to enable.</param> /// <returns><c>true</c> if the flags were successfully set, <c>false</c> otherwise.</returns> public static bool TrySetPlaneDetectionFlags(this XRPlaneSubsystem planeSubsystem, PlaneDetectionFlags flags) { if (planeSubsystem == null) { throw new ArgumentNullException("planeSubsystem"); } return(s_TrySetPlaneDetectionFlagsDelegate(planeSubsystem, flags)); }
static bool DefaultTrySetPlaneDetectionFlags( XRPlaneSubsystem planeSubsystem, PlaneDetectionFlags flags) { return(false); }
static bool TrySetPlaneDetectionFlags(XRPlaneSubsystem planeSubsystem, PlaneDetectionFlags flags) { return(Api.UnityARCore_trySetPlaneDetectionFlags(flags)); }
static bool UnityARKit_trySetPlaneDetectionFlags(PlaneDetectionFlags flags) { return(false); }
static extern bool UnityARKit_trySetPlaneDetectionFlags(PlaneDetectionFlags flags);