SCNGeometrySource.FromData 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- semantic
- SCNGeometrySourceSemantics
- 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