---
title: deltaTime
framework: MetalFX
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 27.1+]
path: metalfx/mtlfxframeinterpolatorbase/deltatime
---

# deltaTime

The length of the time interval, in seconds, between time of current and previous frame.

## Declaration

```swift
var deltaTime: Float { get set }
```
