<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/MeshDeformerOptions/Cadence-swift.enum/onDemand",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation19MeshDeformerOptionsV7CadenceO8onDemandyA2EmF"
  },
  "title" : "MeshDeformerOptions.Cadence.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.

```
case onDemand
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)