![]() # 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. |
||
---|---|---|
.. | ||
mesh2d | ||
render | ||
texture_slice | ||
bundle.rs | ||
dynamic_texture_atlas_builder.rs | ||
lib.rs | ||
sprite.rs | ||
texture_atlas_builder.rs | ||
texture_atlas.rs |