Share via


SCNGeometryElement.FromData Method

Definition

Overloads

FromData(NSData, SCNGeometryPrimitiveType, IntPtr, IntPtr, Boolean, IntPtr)

[Foundation.Export("geometryElementWithData:primitiveType:primitiveCount:indicesChannelCount:interleavedIndicesChannels:bytesPerIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNGeometryElement FromData(Foundation.NSData? data, SceneKit.SCNGeometryPrimitiveType primitiveType, IntPtr primitiveCount, IntPtr indicesChannelCount, bool interleavedIndicesChannels, IntPtr bytesPerIndex);
[<Foundation.Export("geometryElementWithData:primitiveType:primitiveCount:indicesChannelCount:interleavedIndicesChannels:bytesPerIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromData : Foundation.NSData * SceneKit.SCNGeometryPrimitiveType * nativeint * nativeint * bool * nativeint -> SceneKit.SCNGeometryElement

Parameters

data
NSData
primitiveType
SCNGeometryPrimitiveType
primitiveCount
IntPtr

nativeint

indicesChannelCount
IntPtr

nativeint

interleavedIndicesChannels
Boolean
bytesPerIndex
IntPtr

nativeint

Returns

Attributes

Applies to

FromData(NSData, SCNGeometryPrimitiveType, IntPtr, IntPtr)

Creates a new geometry element from the provided values.

[Foundation.Export("geometryElementWithData:primitiveType:primitiveCount:bytesPerIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNGeometryElement FromData(Foundation.NSData? data, SceneKit.SCNGeometryPrimitiveType primitiveType, IntPtr primitiveCount, IntPtr bytesPerIndex);
[<Foundation.Export("geometryElementWithData:primitiveType:primitiveCount:bytesPerIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromData : Foundation.NSData * SceneKit.SCNGeometryPrimitiveType * nativeint * nativeint -> SceneKit.SCNGeometryElement

Parameters

data
NSData

To be added.

This parameter can be null.

primitiveType
SCNGeometryPrimitiveType
primitiveCount
IntPtr

nativeint

bytesPerIndex
IntPtr

nativeint

Returns

Attributes

Applies to