default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
throw Exception::BadLinkName(name);
}
+
+LinkableValueNode::Vocab
+ValueNode_Cos::get_children_vocab_vfunc()const
+{
+ LinkableValueNode::Vocab ret;
+
+ ret.push_back(ParamDesc(ValueBase(),"angle")
+ .set_local_name(_("Angle"))
+ .set_description(_("Value to calculate the cosine"))
+ );
+
+ ret.push_back(ParamDesc(ValueBase(),"amp")
+ .set_local_name(_("Amplitude"))
+ .set_description(_("Multiplier of the resulting cosine"))
+ );
+
+ return ret;
+}