SCNGeometryElement.FromData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| FromData(NSData, SCNGeometryPrimitiveType, IntPtr, IntPtr, Boolean, IntPtr) | |
| FromData(NSData, SCNGeometryPrimitiveType, IntPtr, IntPtr) |
Creates a new geometry element from the provided values. |
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
- primitiveType
- SCNGeometryPrimitiveType
- primitiveCount
-
IntPtr
nativeint
- bytesPerIndex
-
IntPtr
nativeint
Returns
- Attributes