共用方式為


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

追蹤狀態變更的相機。

屬性

適用於