Edytuj

Udostępnij za pośrednictwem


ARSCNViewDelegate.ShouldAttemptRelocalization(ARSession) Method

Definition

Returns a Boolean value that tells whether the session should attempt to reorient after an interruption.

[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

Parameters

session
ARSession

The session in question.

Returns

A Boolean value that tells whether the session should attempt to reorient after an interruption.

Attributes

Applies to