Function: getOpacityState()
getOpacityState(
volumeActor):object
Reads back the current opacity spec for an actor in public-colormap shape: a scalar opacity
(the overall level), the per-value opacityMapping (if any), and the threshold.
Parameters
• volumeActor: any
Returns
object
opacity
opacity:
number
opacityMapping?
optionalopacityMapping:OpacityMapping[]
threshold
threshold:
number|null