File:Component example ValueGradientDriver IndexOfMax.webp

File on Resonite Wiki

Component_example_ValueGradientDriver_IndexOfMax.webp(600 × 367 pixels, file size: 18 KB, MIME type: image/webp)

Summary

An unorthodox yet valid example of the ValueGradientDriver Component, wherein Progress is fixed at 1 and each point has an integer Value that matches its index. If each point's Position is driven by something else, this is a method of finding the index of the maximum value in a list of floats, which may be used for systems such as 2d texture viseme driving.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:03, 17 February 2024Thumbnail for version as of 18:03, 17 February 2024600 × 367 (18 KB)Yosh (talk | contribs)An unorthodox yet valid example of the ValueGradientDriver Component, wherein <code>Progress</code> is fixed at 1 and each point has an integer <code>Value</code> that matches its index. If each point's <code>Position</code> is driven by something else, this is a method of finding the index of the maximum value in a list of floats, which may be used for systems such as 2d texture viseme driving.