Referencing material functions from inside a custom expression

Hi Antidamage, is it possible to have an short snippet code example showing how you called custom expression node functions inside a custom expression node?

I’ve tried putting the following code in the Custom Node but it didn’t work:



float hi(float i)
{
   return i*3;
}

return hi(7);