function.createTransparentHighlight
API > createTransparentHighlight
Function: createTransparentHighlight
createTransparentHighlight(
opacity
):RGBATransform
Create a highlight color transform that replaces material opacity.
Parameters
Parameter | Type | Description |
---|---|---|
opacity | number | New material opacity between 0 and 1, where 0 is 100% transparent and 1.0 is 100% opaque. |