コード例 #1
0
 static internal extern bool UnityARCore_trySetPlaneDetectionFlags(PlaneDetectionFlags flags);
コード例 #2
0
 static internal bool UnityARCore_trySetPlaneDetectionFlags(PlaneDetectionFlags flags)
 {
     return(false);
 }
コード例 #3
0
        /// <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));
        }
コード例 #4
0
 static bool DefaultTrySetPlaneDetectionFlags(
     XRPlaneSubsystem planeSubsystem, PlaneDetectionFlags flags)
 {
     return(false);
 }
コード例 #5
0
 static bool TrySetPlaneDetectionFlags(XRPlaneSubsystem planeSubsystem, PlaneDetectionFlags flags)
 {
     return(Api.UnityARCore_trySetPlaneDetectionFlags(flags));
 }
コード例 #6
0
 static bool UnityARKit_trySetPlaneDetectionFlags(PlaneDetectionFlags flags)
 {
     return(false);
 }
コード例 #7
0
 static extern bool UnityARKit_trySetPlaneDetectionFlags(PlaneDetectionFlags flags);