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

Method GetValueAt

trinity/Curves/Tr2CurveVector3Expression.cpp:268–276  ·  view source on GitHub ↗

--------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

266
267// --------------------------------------------------------------------------------
268Color* Tr2CurveVector3Expression::GetValueAt( Color* in, Be::Time time )
269{
270 auto value = GetValue( TimeAsDouble( time ) );
271 in->r = value.x;
272 in->g = value.y;
273 in->b = value.z;
274 in->a = 0;
275 return in;
276}
277
278// --------------------------------------------------------------------------------
279Color* Tr2CurveVector3Expression::GetValueAt( Color* in, double time )

Callers 1

GetInputValueMethod · 0.45

Calls 1

GetValueFunction · 0.85

Tested by

no test coverage detected