ValueNode_BLineRevTangent::ValueNode_BLineRevTangent(const ValueNode::Handle &x):
LinkableValueNode(x->get_type())
{
+ Vocab ret(get_children_vocab());
+ set_children_vocab(ret);
if(x->get_type()!=ValueBase::TYPE_BLINEPOINT)
throw Exception::BadType(ValueBase::type_local_name(x->get_type()));
{
return (type==ValueBase::TYPE_BLINEPOINT);
}
+
+LinkableValueNode::Vocab
+ValueNode_BLineRevTangent::get_children_vocab_vfunc()const
+{
+ if(children_vocab.size())
+ return children_vocab;
+
+ LinkableValueNode::Vocab ret;
+
+ ret.push_back(ParamDesc(ValueBase(),"reference")
+ .set_local_name(_("Reference"))
+ .set_description(_("The referenced tangent to reverse"))
+ );
+
+ ret.push_back(ParamDesc(ValueBase(),"reverse")
+ .set_local_name(_("Reverse"))
+ .set_description(_("When checked, the reference is reversed"))
+ );
+
+ return ret;
+}