Vertex Viewer SDK
Preparing search index...
Viewer
ColorMaterial
fromHex
Function fromHex
fromHex
(
hex
:
string
,
opacity
?:
number
)
:
ColorMaterial
.
ColorMaterial
This helper converts a hex string to a ColorMaterial object
Parameters
hex
:
string
Optional
opacity
:
number
Returns
ColorMaterial
.
ColorMaterial
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Vertex Viewer SDK
Loading...
This helper converts a hex string to a ColorMaterial object