The size, in bytes, of each vector component.
SDKs
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Scene
Kit
Declaration
var bytesPerComponent: Int { get }
The size, in bytes, of each vector component.
SDKs
Framework
var bytesPerComponent: Int { get }
var data: Data
The data for the geometry source.
var semantic: SCNGeometry Source .Semantic
The semantic value (or attribute) the geometry source describes for each vertex.
var vector Count: Int
The number of vectors in the data.
var uses Float Components: Bool
A Boolean value that indicates whether vector components are floating-point values.
var components Per Vector: Int
The number of scalar components in each vector.
var data Offset: Int
The offset, in bytes, from the beginning of the data to the first vector component to be used in the geometry source.
var data Stride: Int
The number of bytes from a vector to the next one in the data.