Contents

EntityTableSeat

A protocol for seats at the table that you render using RealityKit.

Declaration

protocol EntityTableSeat : TableSeat

Overview

To render seats using an entity, follow these steps:

  1. Create a structure that conforms to this protocol.

  2. Set the State type alias to TableSeatState.

  3. Declare the id property as a TableSeatIdentifier structure.

  4. Declare the initialState property as a State structure.

  5. Implement an initializer that sets these properties and the entity property.

Topics

Rendering the equipment

See Also

Seats