<!--
{
  "documentType" : "article",
  "framework" : "USD",
  "identifier" : "/documentation/USD/duration",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "duration"
}
-->

# duration

The amount of time that the objects face the camera.

## Discussion

The default value is `1.0`. The prims in [affectedObjects](/documentation/USD/affectedobjects) face the camera immediately when this action executes.

### Declaration

```other
uniform double duration = 1.0
```

---

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)