Omy Posted March 21, 2011 Share Posted March 21, 2011 hi i want to display a caption when the user puts his cursor over the material parameters. I have seen the houdini help basic syntax for help is #pragma help "abcdefghi" however after i recompiled the houdini code and try to test.I dont get the text in the dialog help needed Many thanks Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted March 21, 2011 Share Posted March 21, 2011 #pragma help is for writing help for the overall operator. To add a "tooltip"-style popup help for a single parameter, use #pragma parmhelp #pragma parmhelp parameter_name "text" #pragma parmhelp parameter_name "text" Sets the tooltip that appears when the user hovers over parameter_name. #pragma parmhelp amp "Increase this value to add more noise." displacement bumpy(float amp=0) { ... } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.