---
title: MeshDeformerOptions.Cadence.onDemand
framework: realitykit
role: symbol
role_heading: Case
path: realitykit/meshdeformeroptions/cadence-swift.enum/ondemand
---

# MeshDeformerOptions.Cadence.onDemand

Applies the custom deformer function only when you request it. You can explicitly request the deformer function to be called by setting new input. Like all other deformers, the deformer updates again if a previous deformer in the MeshDeformationStack updates.

## Declaration

```swift
case onDemand
```

## See Also

### Choosing an update cadence

- [MeshDeformerOptions.Cadence.everyFrame](realitykit/meshdeformeroptions/cadence-swift.enum/everyframe.md)
