---
title: usesFloatComponents
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scngeometrysource/usesfloatcomponents
---

# usesFloatComponents

A Boolean value that indicates whether vector components are floating-point values.

## Declaration

```swift
var usesFloatComponents: Bool { get }
```

## Discussion

Discussion If true, SceneKit interprets the geometry source’s data as an array of vectors whose components are floating-point values. The type of floating-point value is determined by the SCNGeometrySource property: 4 bytes for float values or 8 bytes for double values. If false, SceneKit interprets the geometry source’s data as an array of vectors whose components are integer values. The type of integer value is determined by the SCNGeometrySource property; for example, 2 bytes for unsigned short values or 4 bytes for unsigned int values.

## See Also

### Inspecting a Geometry Source

- [data](scenekit/scngeometrysource/data.md)
- [semantic](scenekit/scngeometrysource/semantic-swift.property.md)
- [vectorCount](scenekit/scngeometrysource/vectorcount.md)
- [componentsPerVector](scenekit/scngeometrysource/componentspervector.md)
- [bytesPerComponent](scenekit/scngeometrysource/bytespercomponent.md)
- [dataOffset](scenekit/scngeometrysource/dataoffset.md)
- [dataStride](scenekit/scngeometrysource/datastride.md)
