<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImmersiveMediaSupport",
  "identifier" : "/documentation/ImmersiveMediaSupport/VenueDescriptor/cameraViewModel(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Immersive Media Support"
    ],
    "preciseIdentifier" : "s:21ImmersiveMediaSupport15VenueDescriptorC15cameraViewModel3forAA0a6CameragH0VSgSS_tF"
  },
  "title" : "cameraViewModel(for:)"
}
-->

# cameraViewModel(for:)

Returns the camera view model for the given immersive camera identifier.

```
final func cameraViewModel(for id: String) -> ImmersiveCameraViewModel?
```

## Parameters

`id`

Identifier string of the immersive camera

## Return Value

ImmersiveCameraViewModel describing the geometries, mask and other information to be used for that camera
for rendering.

---

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)