One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

MeshInstancesComponent.Part

struct · iOS 26.0+ · SDK 27.1

struct Part

A group of instances to render.

Members (5)

init · iOS 26.0+

init

TypeScript
static init(data: LowLevelInstanceData, bounds?: (BoundingBox) | null): MeshInstancesComponent_Part
Swift declaration
init(data: LowLevelInstanceData, bounds: BoundingBox? = nil)
get · iOS 26.0+

data

TypeScript
get data(): LowLevelInstanceData
Swift declaration
var data: LowLevelInstanceData
set · iOS 26.0+

data

TypeScript
set data(value: LowLevelInstanceData)
Swift declaration
var data: LowLevelInstanceData
get · iOS 26.0+

bounds

TypeScript
get bounds(): (BoundingBox) | null
Swift declaration
var bounds: BoundingBox?

The bounding box to encompass all of the instances this group part draws. If bounds is `nil`, RealityKit calculates a bounding box for you each time you update your instances within ``LowLevelInstanceData``. Automatic bounds calculation is not supported when ``LowLevelInstanceData`` is updated via ``LowLevelInstanceData/replace(using:)``. Provide a non-nil bounds value when updating instances with Metal.

set · iOS 26.0+

bounds

TypeScript
set bounds(value: (BoundingBox) | null)
Swift declaration
var bounds: BoundingBox?

The bounding box to encompass all of the instances this group part draws. If bounds is `nil`, RealityKit calculates a bounding box for you each time you update your instances within ``LowLevelInstanceData``. Automatic bounds calculation is not supported when ``LowLevelInstanceData`` is updated via ``LowLevelInstanceData/replace(using:)``. Provide a non-nil bounds value when updating instances with Metal.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →