Contents

BoundingSphereBox

A combined bounding volume consisting of a bounding sphere and an optional axis-aligned bounding box.

Declaration

@frozen struct BoundingSphereBox

Overview

BoundingSphereBox represents the culling bounds of a LowLevelMeshInstance. When halfExtents is set, the renderer uses the tighter box bounds for culling; otherwise it falls back to the bounding sphere.

Topics

Creating a bounding volume

Accessing the dimensions

Instance Properties

See Also

GPU resources