Material.
get_color
Get the RGBA color array of the material.
list of float – List of 4 floats (0.0-1.0) indicating RGB colors and Alpha channel of the material.
list
float
0.0-1.0
Examples
>>> material = Material('aqua') >>> material.get_color() [0.0, 1.0, 1.0, 1.0]
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev