Contents

TabletopShape

An object that represents the physical properties of the table.

Declaration

struct TabletopShape

Overview

To create a round table, use the round(center:radius:thickness:in:) initializer, or if you render the table using RealityKit, the round(entity:) initializer. For a rectangular table, use the equivalent rectangular(center:width:height:thickness:in:) or rectangular(entity:) initializer.

Topics

Creating a round or rectangular table

Creating a table that you render using an entity

See Also

Essentials