Skip to main content
Version: 3.x

Interface: CogniteModelBase

@cognite/reveal.CogniteModelBase

Implemented by

Properties

type

Readonly type: SupportedModelTypes

Defined in

packages/model-base/src/CogniteModelBase.ts:13

Methods

dispose

dispose(): void

Returns

void

Defined in

packages/model-base/src/CogniteModelBase.ts:14


getCameraConfiguration

getCameraConfiguration(): CameraConfiguration

Returns

CameraConfiguration

Defined in

packages/model-base/src/CogniteModelBase.ts:16


getModelBoundingBox

getModelBoundingBox(outBbox?, restrictToMostGeometry?): Box3

Parameters

NameType
outBbox?Box3
restrictToMostGeometry?boolean

Returns

Box3

Defined in

packages/model-base/src/CogniteModelBase.ts:15


getModelTransformation

getModelTransformation(out?): Matrix4

Parameters

NameType
out?Matrix4

Returns

Matrix4

Defined in

packages/model-base/src/CogniteModelBase.ts:18


setModelTransformation

setModelTransformation(matrix): void

Parameters

NameType
matrixMatrix4

Returns

void

Defined in

packages/model-base/src/CogniteModelBase.ts:17