Skip to main content
Version: Next

Interface: Image360<T>

A single 360 image "station", which may consist of several revisions captured in approximately the same location

Type Parameters

T extends DataSourceType = ClassicDataSourceType

Properties

id

readonly id: string

Get Id of 360 image entity.

Returns

Station Id

Defined in

packages/360-images/src/entity/Image360.ts:43


image360Visualization

readonly image360Visualization: Image360Visualization

The object containing the unit cube with the 360 images.

Returns

Image360Visualization

Defined in

packages/360-images/src/entity/Image360.ts:37


label

readonly label: undefined | string

Get label of 360 image entity.

Returns

Station label

Defined in

packages/360-images/src/entity/Image360.ts:49


transform

readonly transform: Matrix4

Get a copy of the model-to-world transformation matrix of the given 360 image.

Returns

model-to-world transform of the 360 Image

Defined in

packages/360-images/src/entity/Image360.ts:31

Methods

getActiveRevision()

getActiveRevision(): Image360Revision<T>

Get the revision that is currently loaded for this entry.

Returns

Image360Revision<T>

The active revision.

Defined in

packages/360-images/src/entity/Image360.ts:61


getIconColor()

getIconColor(): Color | "default"

Get a copy of the color assigned to the icon of this entity

Returns

Color | "default"

The currently assign color, or 'default' if none is assigned

Defined in

packages/360-images/src/entity/Image360.ts:68


getRevisions()

getRevisions(): Image360Revision<T>[]

List all historical images for this entity.

Returns

Image360Revision<T>[]

A list of available revisions.

Defined in

packages/360-images/src/entity/Image360.ts:55


setIconColor()

setIconColor(color): void

Assign a color to the icon of this entity

Parameters

color: Color | "default"

Returns

void

Defined in

packages/360-images/src/entity/Image360.ts:73