EntityTableSeat
A protocol for seats at the table that you render using RealityKit.
Declaration
protocol EntityTableSeat : TableSeatOverview
To render seats using an entity, follow these steps:
Create a structure that conforms to this protocol.
Set the State type alias to TableSeatState.
Declare the
idproperty as a TableSeatIdentifier structure.Declare the initialState property as a State structure.
Implement an initializer that sets these properties and the entity property.