rockverse.viz.OrthogonalViewer.segmentation_alpha#

property OrthogonalViewer.segmentation_alpha#

Get or set the transparency level for segmentation overlay. The value must be a float between 0.0 and 1.0, where 0.0 is fully transparent (invisible) and 1.0 is fully opaque (completely visible).

Examples

>>> viewer.segmentation_alpha = 0.5            # Set the transparency to 50%
>>> current_alpha = viewer.segmentation_alpha  # Get the current transparency level