File:Component example ValueGradientDriver IndexOfMax.webp: Revision history

File on Resonite Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

17 February 2024

  • curprev 18:0318:03, 17 February 2024Yosh talk contribs 448 bytes +448 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.