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