MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getColor

Method getColor

Engine/Node.cpp:6382–6398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6380}
6381
6382bool
6383Node::getColor(double* r,
6384 double *g,
6385 double* b) const
6386{
6387 NodeGuiIPtr gui = _imp->guiPointer.lock();
6388
6389 if (gui) {
6390 gui->getColor(r, g, b);
6391 return true;
6392 } else {
6393 *r = 0.;
6394 *g = 0.;
6395 *b = 0.;
6396 return false;
6397 }
6398}
6399
6400void
6401Node::setColor(double r,

Callers 7

renderBezierMethod · 0.45
connectNodesMethod · 0.45
exportGroupInternalFunction · 0.45
vmessageMethod · 0.45
Sbk_EffectFunc_getColorFunction · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected