Jump to content

Curve2d parameter


photo

Recommended Posts

Hi , I want to use Curve2d as parameter for custom component.  

 PROP_PARAM(Curve2d, mapping);

But I am not able to modify curve in the editor. 

image.thumb.png.aee5b456d3d94bc1d6ee38fe9f2a6491.png

 

Is Curve2d parameter supported or am I doing something wrong ?

Thanks for help. 

Michal

Edited by michal
Link to comment

Hello!

What is your SDK version? The issue is related to a bug that we fixed in release 2.14.1

If it possible, please update to the latest version to fix the problem.

Thanks!

Link to comment

In addition , I would like to ask

1 . if it is possible set MaxValue regard to have wider range  : e.g  PROP_PARAM(Curve2d, mapping,value_ragne(0-100));

2. set default curve in editor :      e.g PROP_PARAM(Curve2d, mapping, value_pair{{0,1},{1,50}});

 

Thanks

Link to comment
15 hours ago, michal said:

In addition , I would like to ask

1 . if it is possible set MaxValue regard to have wider range  : e.g  PROP_PARAM(Curve2d, mapping,value_ragne(0-100));

2. set default curve in editor :      e.g PROP_PARAM(Curve2d, mapping, value_pair{{0,1},{1,50}});

 

Thanks

Hello!

Such feature not available at this moment, but we plan to add in some of following releases. Stay tuned!

Thanks

  • Thanks 1
Link to comment
×
×
  • Create New...