| 225 | } |
| 226 | |
| 227 | void MaterialPy::setDiffuseColor(Py::Object arg) |
| 228 | { |
| 229 | try { |
| 230 | getMaterialPtr()->diffuseColor = toColor(*arg); |
| 231 | } |
| 232 | catch (const Base::Exception& e) { |
| 233 | e.setPyException(); |
| 234 | throw Py::Exception(); |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | Py::Object MaterialPy::getEmissiveColor() const |
| 239 | { |
nothing calls this directly
no test coverage detected