-int
-ValueNode_BLineCalcVertex::get_link_index_from_name(const String &name)const
-{
- if(name=="bline") return 0;
- if(name=="loop") return 1;
- if(name=="amount") return 2;
- throw Exception::BadLinkName(name);
-}
+ ret.push_back(ParamDesc(ValueBase(),"amount")
+ .set_local_name(_("Amount"))
+ .set_description(_("The position of the linked vertex on the BLine (0,1]"))
+ );