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

# Methods

# get

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

Inherited from UiCallback.get

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

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

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

Returns: void