Contents

bounds

The model-space bounding box of this part.

Declaration

var bounds: BoundingBox

Discussion

RealityKit uses this bounding box for culling the mesh against the active camera.

Take care to maintain the bounds of each mesh part so that it completely contains the part’s geometry. Otherwise, RealityKit may not render your meshes correctly.

See Also

Describing a low-level mesh part