Skip to content

CustomReductionMultiplierCalculationPart

Class Documentation

Edit documentation

A calculation part that turns a reduction into a multiplier: it returns 1 - r, where r is the value of mSubPartToReduceBy clamped to 0-mMaximumReductionPercent. Both values are fractions: 0.3 is a 30% reduction.

Properties

mMaximumReductionPercent

F32 = 0
Edit documentation

The largest reduction, as a fraction. The default 0 clamps every reduction to 0, so the part returns 1.