Skip to main content
Version: 4.x

Type Alias: OverlayInfo<ContentType>

OverlayInfo<ContentType>: object

Data used in creating an overlay.

Type Parameters

ContentType = DefaultOverlay3DContentType

Type declaration

color?

optional color: Color

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

content

content: ContentType

The data contained in this overlay

position

position: Vector3

Position of the overlay

Defined in

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