wupeng Posted October 27, 2019 Share Posted October 27, 2019 Hello . forgive me my badEnglish . sometime l use vex to create a "ramp" like this ; but this ramp type is " float" l want directly create a ramp is "color " type like this So please teach me if you know ; thinks Quote Link to comment Share on other sites More sharing options...
toadstorm Posted October 27, 2019 Share Posted October 27, 2019 Just surround the chramp() function with vector(), like this: @Cd = vector(chramp("myRamp", a)); 3 1 Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted October 27, 2019 Share Posted October 27, 2019 If I remember correctly, you can change the type in the parameter settings ? Quote Link to comment Share on other sites More sharing options...
wupeng Posted October 28, 2019 Author Share Posted October 28, 2019 (edited) 20 hours ago, toadstorm said: Just surround the chramp() function with vector(), like this: @Cd = vector(chramp("myRamp", a)); Thank you . Edited October 28, 2019 by wupeng 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.