ne_ven_getGradient

VGradientBase *sbne::ne_ven_getGradient(Veneer *ven, const unsigned int &index = -1, const std::string &gradientId = "")

Gets the indexth VGradientBase object of this Veneer object.

Parameters:
  • ven – a pointer to the Veneer object.

  • index – the index of the VGradientBase object to return.

  • gradientId – a string containing the id of the VGradientBase object to return, used if the index is not given.

Returns:

a pointer to either the indexth VGradientBase object or the one with provided id of this Veneer object.