共用方式為


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

傳回

屬性

適用於