ARSessionDelegate.CameraDidChangeTrackingState(ARSession, ARCamera) 方法

定义

更改时调用 TrackingState ,指示跟踪质量的变化。

[Foundation.Export("session:cameraDidChangeTrackingState:")]
[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 void CameraDidChangeTrackingState (ARKit.ARSession session, ARKit.ARCamera camera);
abstract member CameraDidChangeTrackingState : ARKit.ARSession * ARKit.ARCamera -> unit
override this.CameraDidChangeTrackingState : ARKit.ARSession * ARKit.ARCamera -> unit

参数

session
ARSession

提供事件信息的会话。

camera
ARCamera

其跟踪状态已更改的相机。

属性

适用于