API ReferenceGlobalsRoomleMaterialViewerUiCallback

# Class: RoomleMaterialViewerUiCallback

# Hierarchy

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new RoomleMaterialViewerUiCallback(creator: string): RoomleMaterialViewerUiCallback

Overrides UiCallback.constructor

Defined in packages/material-viewer/src/roomle-material-viewer-ui-callback.ts:6

Parameters:

Name Type
creator string

Returns: RoomleMaterialViewerUiCallback

# Properties

# creator

creator: string

Implementation of Context.creator

Inherited from UiCallback.creator

Defined in packages/common-core/src/utils/ui-callback.ts:9

# Methods

# cameraStartsMoving

cameraStartsMoving(): void

Inherited from UiCallback.cameraStartsMoving

Defined in packages/common-core/src/utils/ui-callback.ts:42

Returns: void


# get

get(target: UiCallback, prop: keyof UiCallback): UiCallback[keyof UiCallback]

Inherited from UiCallback.get

Defined in packages/common-core/src/utils/ui-callback.ts:35

Parameters:

Name Type
target UiCallback
prop keyof UiCallback

Returns: UiCallback[keyof UiCallback]


# mute

mute(): void

Inherited from UiCallback.mute

Defined in packages/common-core/src/utils/ui-callback.ts:18

Returns: void


# onMaterialShadingChanged

onMaterialShadingChanged(materialShading: RapiMaterialShading): void

Defined in packages/material-viewer/src/roomle-material-viewer-ui-callback.ts:16

Gets called when a material parameter has been changed using the graphical user interface

Parameters:

Name Type Description
materialShading RapiMaterialShading

Returns: void


# unmute

unmute(): void

Inherited from UiCallback.unmute

Defined in packages/common-core/src/utils/ui-callback.ts:22

Returns: void