ne_ven_getColor

VColorDefinition *sbne::ne_ven_getColor(Veneer *ven, const unsigned int &index = -1, const std::string &colorId = "")

Gets the indexth VColorDefinition object of this Veneer object.

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

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

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

Returns:

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