SCNLight.FromModelLight(MDLLight) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從提供的模型 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
傳回
- 屬性