---
title: "-(_:)"
framework: spatial
role: symbol
role_heading: Operator
path: "spatial/vector3d/-(_:)"
---

# -(_:)

Returns a vector that’s the element-wise negation of the vector.

## Declaration

```swift
static func - (vector: Vector3D) -> Vector3D
```

## Parameters

- `vector`: The value that the operator negates.

## See Also

### Applying arithmetic operations

- [*(_:_:)](spatial/vector3d/*(_:_:)-dcwn.md)
- [*(_:_:)](spatial/vector3d/*(_:_:)-64lzt.md)
- [*(_:_:)](spatial/vector3d/*(_:_:)-6rxsr.md)
- [*(_:_:)](spatial/vector3d/*(_:_:)-3dpli.md)
- [*(_:_:)](spatial/vector3d/*(_:_:)-8y7xq.md)
- [+(_:_:)](spatial/vector3d/+(_:_:)-7gbcj.md)
- [+(_:_:)](spatial/vector3d/+(_:_:)-9xfxv.md)
- [+(_:_:)](spatial/vector3d/+(_:_:)-1xufx.md)
- [+(_:_:)](spatial/vector3d/+(_:_:)-1bq1m.md)
- [+(_:_:)](spatial/vector3d/+(_:_:)-4rsou.md)
- [-(_:_:)](spatial/vector3d/-(_:_:)-6zam.md)
- [-(_:_:)](spatial/vector3d/-(_:_:)-6lui1.md)
- [-(_:_:)](spatial/vector3d/-(_:_:)-3qpww.md)
- [-(_:_:)](spatial/vector3d/-(_:_:)-1nz82.md)
- [-(_:_:)](spatial/vector3d/-(_:_:)-8sgai.md)
