Condividi tramite


MDLSubmesh.FromGeometryElement Metodo

Definizione

Overload

FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator)

Crea un nuovo submesh dall'elemento Scene Kit fornito.

FromGeometryElement(SCNGeometryElement)

Crea un nuovo oggetto MDLSubmesh dall'elemento geometry di Scene Kit specificato.

FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator)

Crea un nuovo submesh dall'elemento Scene Kit fornito.

[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

Parametri

bufferAllocator
IMDLMeshBufferAllocator

Da aggiungere.

Questo parametro può essere null.

Restituisce

Attributi

Si applica a

FromGeometryElement(SCNGeometryElement)

Crea un nuovo oggetto MDLSubmesh dall'elemento geometry di Scene Kit specificato.

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

Parametri

Restituisce

Attributi

Si applica a