MCPcopy Create free account
hub / github.com/SFML/SFML / setColor

Method setColor

src/SFML/Graphics/Sprite.cpp:74–78  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

72
73////////////////////////////////////////////////////////////
74void Sprite::setColor(Color color)
75{
76 for (Vertex& vertex : m_vertices)
77 vertex.color = color;
78}
79
80
81////////////////////////////////////////////////////////////

Callers 3

Sprite.test.cppFile · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected