Skip to content

RemapFloatMaterialDriver

Inheritance 2 ancestors · 48 siblings

Class Documentation

Edit documentation

A float driver that maps a value from one range to another:

  1. It clamps the value of mDriver to mMinValue..mMaxValue.
  2. It takes the position of the value in that range, from 0 to 1.
  3. It returns the point at that position between mOutputMinValue and mOutputMaxValue.

The output range may run downwards: with mOutputMinValue above mOutputMaxValue the result falls as the input rises.

Properties

mMaxValue

F32 = 1
Edit documentation

The high end of the input range. Inputs above it count as this value.

mMinValue

F32 = 0
Edit documentation

The low end of the input range. Inputs below it count as this value.