共用方式為


MDLCamera.FromSceneCamera(SCNCamera) 方法

定義

從指定的場景套件相機建立新的 MDLCamera。

[Foundation.Export("cameraWithSCNCamera:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static ModelIO.MDLCamera FromSceneCamera (SceneKit.SCNCamera sceneCamera);
static member FromSceneCamera : SceneKit.SCNCamera -> ModelIO.MDLCamera

參數

sceneCamera
SCNCamera

傳回

屬性

適用於