---
title: "init(data:semantic:vectorCount:floatComponents:componentsPerVector:bytesPerComponent:dataOffset:dataStride:)"
framework: scenekit
role: symbol
role_heading: Initializer
path: "scenekit/scngeometrysource/init(data:semantic:vectorcount:floatcomponents:componentspervector:bytespercomponent:dataoffset:datastride:)"
---

# init(data:semantic:vectorCount:floatComponents:componentsPerVector:bytesPerComponent:dataOffset:dataStride:)

## Declaration

```swift
convenience init(data: Data, semantic: SCNGeometrySource.Semantic, vectorCount: Int, floatComponents: Bool, componentsPerVector: Int, bytesPerComponent: Int, dataOffset offset: Int, dataStride stride: Int)
```
