init
TypeScriptstatic init(data: LowLevelInstanceData, bounds?: (BoundingBox) | null): MeshInstancesComponent_PartSwift declarationinit(data: LowLevelInstanceData, bounds: BoundingBox? = nil)struct · iOS 26.0+ · SDK 27.1
struct PartA group of instances to render.
static init(data: LowLevelInstanceData, bounds?: (BoundingBox) | null): MeshInstancesComponent_PartSwift declarationinit(data: LowLevelInstanceData, bounds: BoundingBox? = nil)get data(): LowLevelInstanceDataSwift declarationvar data: LowLevelInstanceDataset data(value: LowLevelInstanceData)Swift declarationvar data: LowLevelInstanceDataget bounds(): (BoundingBox) | nullSwift declarationvar 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 bounds(value: (BoundingBox) | null)Swift declarationvar 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.
No declarations were skipped in this snapshot.