Compartilhar via


MDLSubmesh.FromGeometryElement Método

Definição

Sobrecargas

FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator)

Cria um novo submesh do elemento Scene Kit fornecido.

FromGeometryElement(SCNGeometryElement)

Cria um novo objeto MDLSubmesh do elemento geometry do Kit de Cena especificado.

FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator)

Cria um novo submesh do elemento Scene Kit fornecido.

[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

Parâmetros

bufferAllocator
IMDLMeshBufferAllocator

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a

FromGeometryElement(SCNGeometryElement)

Cria um novo objeto MDLSubmesh do elemento geometry do Kit de Cena especificado.

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

Parâmetros

Retornos

Atributos

Aplica-se a