Share via


SCNGeometryElement.FromSubmesh(MDLSubmesh) 方法

定义

从提供的 submesh创建一个新的 geometry 元素。

[Foundation.Export("geometryElementWithMDLSubmesh:")]
[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.SCNGeometryElement FromSubmesh (ModelIO.MDLSubmesh submesh);
static member FromSubmesh : ModelIO.MDLSubmesh -> SceneKit.SCNGeometryElement

参数

submesh
MDLSubmesh

返回

属性

适用于