Skip to main content
Version: Next

Interface: Image360<T>

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

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:45

Get Id of 360 image entity.

Returns​

Station Id


image360Visualization​

readonly image360Visualization: Image360Visualization

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

The object containing the unit cube with the 360 images.

Returns​

Image360Visualization


label​

readonly label: string | undefined

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

Get label of 360 image entity.

Returns​

Station label


transform​

readonly transform: Matrix4

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

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:63

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:70

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:57

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:75

Assign a color to the icon of this entity

Parameters​

color​

Color | "default"

Returns​

void