---
title: direction
framework: ComputeGraph
role: symbol
role_heading: Instance Property
path: computegraph/viewpoint-swift.struct/direction
---

# direction

The normalized direction vector indicating where the camera is looking, in the simulation’s coordinate system

## Declaration

```swift
var direction: simd_float3
```
