---
title: Vector3DFloat
framework: spatial
role: symbol
role_heading: Structure
path: spatial/vector3dfloat
---

# Vector3DFloat

A single-precision structure that defines a three-element vector

## Declaration

```swift
struct Vector3DFloat
```

## Topics

### Operators

- [*(_:_:)](spatial/vector3dfloat/*(_:_:)-1nqw7.md)
- [*(_:_:)](spatial/vector3dfloat/*(_:_:)-39da3.md)
- [*(_:_:)](spatial/vector3dfloat/*(_:_:)-5f6x6.md)
- [*(_:_:)](spatial/vector3dfloat/*(_:_:)-77n9y.md)
- [*(_:_:)](spatial/vector3dfloat/*(_:_:)-86gx9.md)
- [*=(_:_:)](spatial/vector3dfloat/*=(_:_:).md)
- [+(_:_:)](spatial/vector3dfloat/+(_:_:)-1l8zf.md)
- [+(_:_:)](spatial/vector3dfloat/+(_:_:)-1wtkv.md)
- [+(_:_:)](spatial/vector3dfloat/+(_:_:)-2l7re.md)
- [+(_:_:)](spatial/vector3dfloat/+(_:_:)-94qrx.md)
- [-(_:)](spatial/vector3dfloat/-(_:).md)
- [-(_:_:)](spatial/vector3dfloat/-(_:_:)-115el.md)
- [-(_:_:)](spatial/vector3dfloat/-(_:_:)-5qy45.md)
- [-(_:_:)](spatial/vector3dfloat/-(_:_:)-7h9bz.md)
- [-(_:_:)](spatial/vector3dfloat/-(_:_:)-8k83d.md)
- [/(_:_:)](spatial/vector3dfloat/_(_:_:).md)
- [/=(_:_:)](spatial/vector3dfloat/_=(_:_:).md)

### Initializers

- [init()](spatial/vector3dfloat/init().md)
- [init(_:)](spatial/vector3dfloat/init(_:)-13p20.md)
- [init(_:)](spatial/vector3dfloat/init(_:)-1w9o5.md)
- [init(_:)](spatial/vector3dfloat/init(_:)-217dp.md)
- [init(_:)](spatial/vector3dfloat/init(_:)-2qtq8.md)
- [init(_:)](spatial/vector3dfloat/init(_:)-3c8f6.md)
- [init(_:)](spatial/vector3dfloat/init(_:)-4svr4.md)
- [init(_:)](spatial/vector3dfloat/init(_:)-538j2.md)
- [init(_:)](spatial/vector3dfloat/init(_:)-7y4t0.md)
- [init(vector:)](spatial/vector3dfloat/init(vector:).md)
- [init(x:y:z:)](spatial/vector3dfloat/init(x:y:z:)-1h79g.md)
- [init(x:y:z:)](spatial/vector3dfloat/init(x:y:z:)-8dkie.md)

### Instance Properties

- [length](spatial/vector3dfloat/length.md)
- [lengthSquared](spatial/vector3dfloat/lengthsquared.md)
- [normalized](spatial/vector3dfloat/normalized.md)
- [vector](spatial/vector3dfloat/vector.md)
- [x](spatial/vector3dfloat/x.md)
- [y](spatial/vector3dfloat/y.md)
- [z](spatial/vector3dfloat/z.md)

### Instance Methods

- [applying(_:)](spatial/vector3dfloat/applying(_:)-3mahk.md)
- [cross(_:)](spatial/vector3dfloat/cross(_:).md)
- [dot(_:)](spatial/vector3dfloat/dot(_:).md)
- [normalize()](spatial/vector3dfloat/normalize().md)
- [projected(_:)](spatial/vector3dfloat/projected(_:).md)
- [reflected(_:)](spatial/vector3dfloat/reflected(_:).md)
- [rotation(to:)](spatial/vector3dfloat/rotation(to:).md)
- [sheared(_:)](spatial/vector3dfloat/sheared(_:).md)
- [unapplying(_:)](spatial/vector3dfloat/unapplying(_:)-9dwm2.md)

### Type Properties

- [forward](spatial/vector3dfloat/forward.md)
- [right](spatial/vector3dfloat/right.md)
- [up](spatial/vector3dfloat/up.md)

### Type Methods

- [lerp(from:to:t:)](spatial/vector3dfloat/lerp(from:to:t:).md)
- [smoothstep(edge0:edge1:x:)](spatial/vector3dfloat/smoothstep(edge0:edge1:x:).md)

### Default Implementations

- [AdditiveArithmetic Implementations](spatial/vector3dfloat/additivearithmetic-implementations.md)
- [CustomReflectable Implementations](spatial/vector3dfloat/customreflectable-implementations.md)
- [Decodable Implementations](spatial/vector3dfloat/decodable-implementations.md)
- [Encodable Implementations](spatial/vector3dfloat/encodable-implementations.md)
- [Equatable Implementations](spatial/vector3dfloat/equatable-implementations.md)
- [Hashable Implementations](spatial/vector3dfloat/hashable-implementations.md)
- [Primitive3DProtocol Implementations](spatial/vector3dfloat/primitive3dprotocol-implementations.md)
- [Rotatable3DProtocol Implementations](spatial/vector3dfloat/rotatable3dprotocol-implementations.md)
- [Scalable3DProtocol Implementations](spatial/vector3dfloat/scalable3dprotocol-implementations.md)

## Relationships

### Conforms To

- [AdditiveArithmetic](swift/additivearithmetic.md)
- [Copyable](swift/copyable.md)
- [CustomReflectable](swift/customreflectable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Primitive3DProtocol](spatial/primitive3dprotocol.md)
- [ProjectiveTransformable3D](spatial/projectivetransformable3d.md)
- [ProjectiveTransformable3DFloat](spatial/projectivetransformable3dfloat.md)
- [Rotatable3DProtocol](spatial/rotatable3dprotocol.md)
- [Scalable3DProtocol](spatial/scalable3dprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SpatialTypeProtocol](spatial/spatialtypeprotocol.md)

## See Also

### Data structures

- [Vector3D](spatial/vector3d.md)
- [Axis3D](spatial/axis3d.md)
