SCNLight.FromModelLight(MDLLight) 方法

定义

从提供的模型 IO 光创建新的场景工具包灯。

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

参数

mdllight
MDLLight

返回

属性

适用于