Class FixedBoundVolumeExtensions
- Namespace
- SwiftCollections
Provides conversion from Unity bounds to fixed-point SwiftCollections query bounds.
public static class FixedBoundVolumeExtensions
- Inheritance
-
FixedBoundVolumeExtensions
- Inherited Members
Methods
ToFixedBoundVolume(Bounds)
Converts Unity axis-aligned bounds to a fixed-point bound volume.
public static FixedBoundVolume ToFixedBoundVolume(this Bounds bounds)
Parameters
boundsBoundsThe Unity bounds to convert.
Returns
- FixedBoundVolume
A fixed-point bound volume with converted minimum and maximum coordinates.