---
title: SCNFloat
framework: SceneKit
role: symbol
role_heading: Type Alias
platforms: [iOS 8.0+, iPadOS 8.0+, Mac Catalyst 13.1+, macOS 10.8+, tvOS 9.0+, visionOS 1.0+, watchOS 3.0+]
path: scenekit/scnfloat
---

# SCNFloat

The element type for SceneKit vectors and matrices.

## Declaration

```swift
typealias SCNFloat = Float
```

```swift
typealias SCNFloat = CGFloat
```
