Jump to content

Can you have different ranges for vector parameters?


Recommended Posts

Hi,

Is it possible to have different valid ranges for vector parameters where you want to limit X to 0-1, but have no ranges for Y and Z?

If I put a range of 0-1, it limits every field of the vector parameter.

Perhaps there is a way to do this with callbacks or some other method?

Thanks :)

Link to comment
Share on other sites

This isn't possible, even through the HDK. Probably the best thing you could do would be to not have any range settings and then have a callback that would manually adjust the value of the X parm if it went out of your desired range.

Edited by graham
  • Like 1
Link to comment
Share on other sites

Thanks Graham, I am already clamping out the value internally so it's safe, but would adjusting the value being changed into the valid range have any cons/disadvantages?

Reason I do this is because it makes the UI simpler than having 2 parameters for each of these settings, which would end up as 6 parameters instead of 3.

Edited by magneto
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...