Jump to content
wupeng

about vex

Recommended Posts

Hello . forgive me my badEnglish .

 

sometime l use vex to create a  "ramp"  like this ;

image.png.ef771f2fcb010e9637e5ab109ef4cfe7.png

but this ramp type is " float"

image.png.4b7d709638c30240d5f40271b47a67d2.png

 

l want directly create a ramp is "color " type like this

image.png.8791e0f1f3d67f9ab2a5f7a9d67dae01.png

 

So please teach me if you know  ;

thinks

Share this post


Link to post
Share on other sites

Just surround the chramp() function with vector(), like this:

@Cd = vector(chramp("myRamp", a));

 

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites
20 hours ago, toadstorm said:

Just surround the chramp() function with vector(), like this:


@Cd = vector(chramp("myRamp", a));

 

Thank you .

Edited by wupeng

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×