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

Method getColor

Engine/Node.cpp:10655–10671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10653}
10654
10655bool
10656Node::getColor(double* r,
10657 double *g,
10658 double* b) const
10659{
10660 boost::shared_ptr<NodeGuiI> gui = _imp->guiPointer.lock();
10661
10662 if (gui) {
10663 gui->getColor(r, g, b);
10664 return true;
10665 } else {
10666 *r = 0.;
10667 *g = 0.;
10668 *b = 0.;
10669 return false;
10670 }
10671}
10672
10673void
10674Node::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