Table of Contents

Class BoundVolumeExtensions

Namespace
SwiftCollections

Provides conversion from Unity bounds to SwiftCollections query bounds.

public static class BoundVolumeExtensions
Inheritance
BoundVolumeExtensions
Inherited Members

Methods

ToBoundVolume(Bounds)

Converts Unity axis-aligned bounds to a SwiftCollections bound volume.

public static BoundVolume ToBoundVolume(this Bounds bounds)

Parameters

bounds Bounds

The Unity bounds to convert.

Returns

BoundVolume

A bound volume with matching minimum and maximum coordinates.