Allows an object to change colour based upon value applied to a colour gradient. Uses an Unreal Colour Curve Asset, allowing reuse of colour gradient and fine tuning.

This behaviour allows the use of an Unreal Colour Curve asset as the basis for the gradient, edited through the UE native colour curve editor. The curve allows more complex non-linear gradients and the curve asset can be reused for other object gradients. For example, the curve can be set up to smoothly interpolate between colours or to have hard stops to create a banding effect such as for traffic lights and other discrete data.

Alternatively, the more limited Colour Gradient behaviour allows direct creation of the colour gradient in the details panel, which allows you to quickly make simple gradients with equal intervals between the colour stops.

Datasculpt provides a small library of example curves in the Datasculpt Content > Resources > Materials > Curves Folder. You can duplicate and edit these to create your own colour curves.

Step-By-Step: Curve Colour Gradient Setup

  1. Pre-requisite: You have added the component and set up the common behaviour parameters
  2. Click the DS BC Curve Colour Gradient component
  3. In the Data-Driven Behaviours section find Colour Curve, click the dropdown none and select a Colour Curve from the list.

Step-by-Step: Editing a Colour Curve

  1. To edit the selected colour curve, double click the thumbnail image of it in the same section. This will open the Unreal Editor’s Curve window. Here you can see the RGBA channels spearated into graphs, and modify them accordingly.

Revision: 6
Last modified: 21 May 2021


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment