Skip to main content
Version: Next

Interface: Image360<T>

Defined in: packages/360-images/src/entity/Image360.ts:26

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

Type Parameters

T

T extends DataSourceType = ClassicDataSourceType

Properties

id

readonly id: Image360RevisionId<T>

Defined in: packages/360-images/src/entity/Image360.ts:44

Get Id of 360 image entity.

Returns

Station Id


image360Visualization

readonly image360Visualization: Image360Visualization

Defined in: packages/360-images/src/entity/Image360.ts:38

The object containing the unit cube with the 360 images.

Returns

Image360Visualization


label

readonly label: undefined | string

Defined in: packages/360-images/src/entity/Image360.ts:50

Get label of 360 image entity.

Returns

Station label


transform

readonly transform: Matrix4

Defined in: packages/360-images/src/entity/Image360.ts:32

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

Returns

model-to-world transform of the 360 Image

Methods

getActiveRevision()

getActiveRevision(): Image360Revision<T>

Defined in: packages/360-images/src/entity/Image360.ts:62

Get the revision that is currently loaded for this entry.

Returns

Image360Revision<T>

The active revision.


getIconColor()

getIconColor(): Color | "default"

Defined in: packages/360-images/src/entity/Image360.ts:69

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


getRevisions()

getRevisions(): Image360Revision<T>[]

Defined in: packages/360-images/src/entity/Image360.ts:56

List all historical images for this entity.

Returns

Image360Revision<T>[]

A list of available revisions.


setIconColor()

setIconColor(color): void

Defined in: packages/360-images/src/entity/Image360.ts:74

Assign a color to the icon of this entity

Parameters

color

Color | "default"

Returns

void