MDLSubmesh.FromGeometryElement 方法

定义

重载

FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator)

从提供的场景工具包元素创建新的子mesh。

FromGeometryElement(SCNGeometryElement)

从指定的场景工具包几何元素创建新的 MDLSubmesh 对象。

FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator)

从提供的场景工具包元素创建新的子mesh。

[Foundation.Export("submeshWithSCNGeometryElement:bufferAllocator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static ModelIO.MDLSubmesh FromGeometryElement (SceneKit.SCNGeometryElement element, ModelIO.IMDLMeshBufferAllocator bufferAllocator);
static member FromGeometryElement : SceneKit.SCNGeometryElement * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLSubmesh

参数

bufferAllocator
IMDLMeshBufferAllocator

内容待定。

此参数可以为 null

返回

属性

适用于

FromGeometryElement(SCNGeometryElement)

从指定的场景工具包几何元素创建新的 MDLSubmesh 对象。

[Foundation.Export("submeshWithSCNGeometryElement:")]
public static ModelIO.MDLSubmesh FromGeometryElement (SceneKit.SCNGeometryElement element);
static member FromGeometryElement : SceneKit.SCNGeometryElement -> ModelIO.MDLSubmesh

参数

返回

属性

适用于