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

返回

属性

适用于