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

返回

适用于