Edit

Share via


SCNCamera.FromModelCamera(MDLCamera) Method

Definition

Creates and returns a new Scene Kit camera from the provide Model IO camera.

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

Parameters

modelCamera
MDLCamera

Returns

Attributes

Applies to