---
title: TableVisualState
framework: tabletopkit
role: symbol
role_heading: Structure
path: tabletopkit/tablevisualstate
---

# TableVisualState

A structure that represents the appearance of an object on the table.

## Declaration

```swift
struct TableVisualState
```

## Topics

### Representing collision states

- [contacts](tabletopkit/tablevisualstate/contacts.md)
- [contacts(of:)](tabletopkit/tablevisualstate/contacts(of:).md)
- [TableVisualState.Contact](tabletopkit/tablevisualstate/contact.md)

### Representing 2D states

- [TableVisualState.Point2D](tabletopkit/tablevisualstate/point2d.md)
- [TableVisualState.Pose2D](tabletopkit/tablevisualstate/pose2d.md)

### Representing 3D states

- [TableVisualState.OrientedRect3D](tabletopkit/tablevisualstate/orientedrect3d.md)
- [bounds(for:)](tabletopkit/tablevisualstate/bounds(for:).md)
- [bounds(forEquipment:)](tabletopkit/tablevisualstate/bounds(forequipment:).md)
- [bounds(matching:)](tabletopkit/tablevisualstate/bounds(matching:).md)
- [goalBounds(forEquipment:)](tabletopkit/tablevisualstate/goalbounds(forequipment:).md)
- [goalBounds(matching:)](tabletopkit/tablevisualstate/goalbounds(matching:).md)
- [tableBounds](tabletopkit/tablevisualstate/tablebounds.md)

### Representing seat states

- [pose(for:)](tabletopkit/tablevisualstate/pose(for:)-50h4r.md)
- [pose(for:)](tabletopkit/tablevisualstate/pose(for:)-8pm0h.md)
- [pose(forSeat:)](tabletopkit/tablevisualstate/pose(forseat:).md)
- [pose(matching:)](tabletopkit/tablevisualstate/pose(matching:)-6bo29.md)
- [pose(matching:)](tabletopkit/tablevisualstate/pose(matching:)-8nqm2.md)

### Representing the goal

- [goalBounds(for:)](tabletopkit/tablevisualstate/goalbounds(for:).md)
- [goalPose(for:)](tabletopkit/tablevisualstate/goalpose(for:).md)
- [goalPose(matching:)](tabletopkit/tablevisualstate/goalpose(matching:).md)

## See Also

### Interactions

- [Simulating dice rolls as a component for your game](tabletopkit/simulating-dice-rolls-as-a-component-for-your-game.md)
- [TabletopInteraction](tabletopkit/tabletopinteraction.md)
- [TossableRepresentation](tabletopkit/tossablerepresentation.md)
- [TableSnapshot](tabletopkit/tablesnapshot.md)
- [TableCursor](tabletopkit/tablecursor.md)
- [TableCursorIdentifier](tabletopkit/tablecursoridentifier.md)
