Skip to main content
Version: 4.x

Interface: Image360Annotation

@cognite/reveal.Image360Annotation

An annotation associated with a 360 image revision

Properties

annotation

Readonly annotation: AnnotationModel

The underlying CDF annotation

Defined in

packages/360-images/src/annotation/Image360Annotation.ts:15

Methods

getCenter

getCenter(out?): Vector3

Get center of annotation, to e.g. point the camera toward it

Parameters

NameType
out?Vector3

Returns

Vector3

Defined in

packages/360-images/src/annotation/Image360Annotation.ts:30


setColor

setColor(color?): void

Set the display color of this annotation. Default: Random, based on annotation label

Parameters

NameType
color?Color

Returns

void

Defined in

packages/360-images/src/annotation/Image360Annotation.ts:20


setVisible

setVisible(visible?): void

Set whether this annotation should be visible. Default: true

Parameters

NameType
visible?boolean

Returns

void

Defined in

packages/360-images/src/annotation/Image360Annotation.ts:25