# ClipSubRegion

## Types

uint32_t | `Operation`
uint32_t | `Space`

## Fields

| `Keep`
| `Remove`
| `World`
| `Window`
`PolyPolygonKeys` | `polypolygons`
MatrixKey | `matrix`
`Operation` | `operation`
`Space` | `space`

## Functions

| `ClipSubRegion`
| `ClipSubRegion`
bool | `operator==`
bool | `operator!=`

## Detailed Description

class `ClipSubRegion`

  The ClipSubRegion class is used to define a ClipRegionKey.

  Public Types

  enum `Operation`

    Values:

    enumerator `Keep`

      The geometry inside the clip region is drawn. Everything outside of it is clipped.

    enumerator `Remove`

      The geometry outside the clip region is drawn. Everything inside of it is clipped.

  enum `Space`

    Values:

    enumerator `World`

      The clip region is specified in world coordinates.

    enumerator `Window`

      The clip region is specified in window coordinates. -1 to 1.

  Public Functions

  inline `ClipSubRegion`()
  inline `ClipSubRegion`(MatrixKey matrix, Operation operation, Space space)
  inline bool `operator==`(ClipSubRegion const &that) const
  inline bool `operator!=`(ClipSubRegion const &that) const

  Public Members

  PolyPolygonKeys `polypolygons`

    The polypolygons that define this ClipSubRegion.

  MatrixKey `matrix`

    The transformation matrix for this ClipSubRegion (optional).

  Operation `operation`

    The ClipSubRegion::Operation to use; defaults to Keep.

  Space `space`

    The ClipSubRegion::Space coordinate type to use for defining this ClipSubRegion; defaults to World space.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...