mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 03:23:20 +00:00
d803adff09
# Objective Closes #13738 ## Solution Added `from_color` to materials that would support it. Didn't add `from_color` to `WireframeMaterial` as it doesn't seem we expect users to be constructing them themselves. ## Testing None --- ## Changelog ### Added - `from_color` to `StandardMaterial` so you can construct this material from any color type. - `from_color` to `ColorMaterial` so you can construct this material from any color type. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |