Jump to content

Adding parameters to VEX OTL without #pragma


phong

Recommended Posts

Hi!

 

I've created a VEX code that I've wrapped as an OTL digital asset with a nice parameter interface - all based off a VOPSOP. Now I want to add a parameter to the VEX code and have that parameter be part of my nicely arranged parameter interface.

 

However when I added the parameter to the function definition and created an identically named parameter through the type properties interface, the parameter doesn't change the behavior of the code at all. Now when I check the "Get Properties from Vex Code" box, my nice parameter interface disappears and gets substituted with whatever parameter is defined in the Vex code including my new parameter, which alters the behavior of the code the way I'd expect. So how can add a parameter to my VEX code without having to get rid of my custom parameters?

 

Thanks a lot,

 

 

Nhat

 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...