MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetColor

Method SetColor

trinity/TriColor.cpp:226–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void TriColor::SetColor(
227 const ::Color* ar )
228{
229 r = ar->r;
230 g = ar->g;
231 b = ar->b;
232
233 if( ar->a != TRICOLOR_NOALPHA )
234 a = ar->a;
235}
236
237
238const ::Color* TriColor::GetColor() const

Callers 2

PyUpdateColorMethod · 0.45
PyGetColorAtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected