共用方式為


ARSKViewDelegate.CameraDidChangeTrackingState(ARSession, ARCamera) 方法

定義

開發人員可能會覆寫此方法,以回應追蹤品質的變更。

[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

追蹤狀態已變更的相機。

屬性

適用於