편집

다음을 통해 공유


MDLLight.FromSceneLight(SCNLight) Method

Definition

Creates a new MDLLight instance from the specified SCNLight.

[Foundation.Export("lightWithSCNLight:")]
[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.MDLLight FromSceneLight (SceneKit.SCNLight sceneLight);
static member FromSceneLight : SceneKit.SCNLight -> ModelIO.MDLLight

Parameters

sceneLight
SCNLight

Returns

Attributes

Applies to