MDLMesh.FromGeometry Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
FromGeometry(SCNGeometry) | |
FromGeometry(SCNGeometry, IMDLMeshBufferAllocator) |
FromGeometry(SCNGeometry)
[Foundation.Export("meshWithSCNGeometry:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static ModelIO.MDLMesh FromGeometry (SceneKit.SCNGeometry geometry);
static member FromGeometry : SceneKit.SCNGeometry -> ModelIO.MDLMesh
Parámetros
- geometry
- SCNGeometry
Devoluciones
- Atributos
Se aplica a
FromGeometry(SCNGeometry, IMDLMeshBufferAllocator)
[Foundation.Export("meshWithSCNGeometry: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.MDLMesh FromGeometry (SceneKit.SCNGeometry geometry, ModelIO.IMDLMeshBufferAllocator bufferAllocator);
static member FromGeometry : SceneKit.SCNGeometry * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh
Parámetros
- geometry
- SCNGeometry
Devoluciones
- Atributos