Skip to main content
Version: Next

Type Alias: OverlayInfo<ContentType>

OverlayInfo<ContentType> = object

Defined in: packages/3d-overlays/src/OverlayCollection.ts:18

Data used in creating an overlay.

Type Parameters

ContentType

ContentType = DefaultOverlay3DContentType

Properties

color?

optional color: Color

Defined in: packages/3d-overlays/src/OverlayCollection.ts:30

The color of this overlay. Will be set by collection if undefined


content

content: ContentType

Defined in: packages/3d-overlays/src/OverlayCollection.ts:26

The data contained in this overlay


position

position: Vector3

Defined in: packages/3d-overlays/src/OverlayCollection.ts:22

Position of the overlay