共用方式為


SCNGeometry.FromMesh(MDLMesh) 方法

定義

MDLMesh 建立幾何。

[Foundation.Export("geometryWithMDLMesh:")]
[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.SCNGeometry FromMesh (ModelIO.MDLMesh mesh);
static member FromMesh : ModelIO.MDLMesh -> SceneKit.SCNGeometry

參數

mesh
MDLMesh

傳回

屬性

適用於