共用方式為


SCNGeometrySource.FromData 方法

定義

多載

FromData(NSData, NSString, nint, Boolean, nint, nint, nint, nint)
FromData(NSData, SCNGeometrySourceSemantics, nint, Boolean, nint, nint, nint, nint)

FromData(NSData, NSString, nint, Boolean, nint, nint, nint, nint)

[Foundation.Export("geometrySourceWithData:semantic:vectorCount:floatComponents:componentsPerVector:bytesPerComponent:dataOffset:dataStride:")]
public static SceneKit.SCNGeometrySource FromData (Foundation.NSData data, Foundation.NSString geometrySourceSemantic, nint vectorCount, bool floatComponents, nint componentsPerVector, nint bytesPerComponent, nint offset, nint stride);
static member FromData : Foundation.NSData * Foundation.NSString * nint * bool * nint * nint * nint * nint -> SceneKit.SCNGeometrySource

參數

data
NSData
geometrySourceSemantic
NSString
vectorCount
System.System.IntPtr System.nativeint
floatComponents
Boolean
componentsPerVector
System.System.IntPtr System.nativeint
bytesPerComponent
System.System.IntPtr System.nativeint
offset
System.System.IntPtr System.nativeint
stride
System.System.IntPtr System.nativeint

傳回

屬性

適用於

FromData(NSData, SCNGeometrySourceSemantics, nint, Boolean, nint, nint, nint, nint)

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

參數

data
NSData
vectorCount
System.System.IntPtr System.nativeint
floatComponents
Boolean
componentsPerVector
System.System.IntPtr System.nativeint
bytesPerComponent
System.System.IntPtr System.nativeint
offset
System.System.IntPtr System.nativeint
stride
System.System.IntPtr System.nativeint

傳回

適用於