SCNGeometryElement.FromData Método

Definición

Crea un nuevo elemento geometry a partir de los valores proporcionados.

[Foundation.Export("geometryElementWithData:primitiveType:primitiveCount:bytesPerIndex:")]
public static SceneKit.SCNGeometryElement FromData (Foundation.NSData data, SceneKit.SCNGeometryPrimitiveType primitiveType, nint primitiveCount, nint bytesPerIndex);
static member FromData : Foundation.NSData * SceneKit.SCNGeometryPrimitiveType * nint * nint -> SceneKit.SCNGeometryElement

Parámetros

data
NSData

Se agregará.

Este parámetro puede ser null.

primitiveType
SCNGeometryPrimitiveType
primitiveCount
System.System.IntPtr System.nativeint
bytesPerIndex
System.System.IntPtr System.nativeint

Devoluciones

Atributos

Se aplica a