Upravit

Sdílet prostřednictvím


SCNGeometryElement.FromData Method

Definition

Creates a new geometry element from the provided values.

[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

Parameters

data
NSData

To be added.

This parameter can be null.

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

Returns

Attributes

Applies to