ARSKViewDelegate.ShouldAttemptRelocalization(ARSession) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个布尔值,该值指示会话在中断后是否应尝试重新定向。
[Foundation.Export("sessionShouldAttemptRelocalization:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldAttemptRelocalization (ARKit.ARSession session);
abstract member ShouldAttemptRelocalization : ARKit.ARSession -> bool
override this.ShouldAttemptRelocalization : ARKit.ARSession -> bool
参数
- session
- ARSession
有问题的会话。
返回
一个布尔值,指示会话在中断后是否应尝试重新定向。
- 属性