Bewerken

Delen via


MDLCamera.FromSceneCamera(SCNCamera) Method

Definition

Creates a new MDLCamera from the specified Scene Kit camera.

[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

Parameters

sceneCamera
SCNCamera

Returns

Attributes

Applies to