Hi guys!
I'm trying to pass float array to CVEX function for using ramp parameters in CVEX.
fpreal32 myval={ 0.5, 0.3, 0.8};
cvex.addInput(“floatramp_the_key_positions” , CVEX_TYPE_FLOAT, false);
//….
cvex.load(argc, argv);
//…
if(MyVal=cvex.findInput(“floatramp_the_key_positions”,CVEX_TYPE_FLOAT))
MyVal->setData(myval, 1);
//…
cvex.run(1, true);
//…
But I can't catch it in my CVEX
Is it possible to send an array from C code to CVEX? And if it is, could you guide me how to realize it?
Thanks!
send an array parameter from C code into CVEX
1055 0 0- ingvard
- Member
- 3 posts
- Joined: 10月 2012
- Offline
-
- Quick Links