Share via


SCNGeometrySource.FromData Method

Definition

Overloads

FromData(NSData, NSString, IntPtr, Boolean, IntPtr, IntPtr, IntPtr, IntPtr)

[Foundation.Export("geometrySourceWithData:semantic:vectorCount:floatComponents:componentsPerVector:bytesPerComponent:dataOffset:dataStride:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNGeometrySource FromData(Foundation.NSData data, Foundation.NSString geometrySourceSemantic, IntPtr vectorCount, bool floatComponents, IntPtr componentsPerVector, IntPtr bytesPerComponent, IntPtr offset, IntPtr stride);
[<Foundation.Export("geometrySourceWithData:semantic:vectorCount:floatComponents:componentsPerVector:bytesPerComponent:dataOffset:dataStride:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromData : Foundation.NSData * Foundation.NSString * nativeint * bool * nativeint * nativeint * nativeint * nativeint -> SceneKit.SCNGeometrySource

Parameters

data
NSData
geometrySourceSemantic
NSString
vectorCount
IntPtr

nativeint

floatComponents
Boolean
componentsPerVector
IntPtr

nativeint

bytesPerComponent
IntPtr

nativeint

offset
IntPtr

nativeint

stride
IntPtr

nativeint

Returns

Attributes

Applies to

FromData(NSData, SCNGeometrySourceSemantics, IntPtr, Boolean, IntPtr, IntPtr, IntPtr, IntPtr)

public static SceneKit.SCNGeometrySource FromData(Foundation.NSData data, SceneKit.SCNGeometrySourceSemantics semantic, IntPtr vectorCount, bool floatComponents, IntPtr componentsPerVector, IntPtr bytesPerComponent, IntPtr offset, IntPtr stride);
static member FromData : Foundation.NSData * SceneKit.SCNGeometrySourceSemantics * nativeint * bool * nativeint * nativeint * nativeint * nativeint -> SceneKit.SCNGeometrySource

Parameters

data
NSData
vectorCount
IntPtr

nativeint

floatComponents
Boolean
componentsPerVector
IntPtr

nativeint

bytesPerComponent
IntPtr

nativeint

offset
IntPtr

nativeint

stride
IntPtr

nativeint

Returns

Applies to