Visual.get_color
- Visual.get_color()[source]
Get the RGBA color array assigned to the link.
Only if the link has a material assigned.
- Returns
list[float] – List of 4 floats (
0.0-1.0
) indicating RGB colors and Alpha channel.
Get the RGBA color array assigned to the link.
Only if the link has a material assigned.
list[float] – List of 4 floats (0.0-1.0
) indicating RGB colors and Alpha channel.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev