Skip to content

FlexTypeFloat

Value struct

Class Documentation

Edit documentation

A flex multiplier: a flex slot index and a plain factor. The holder multiplies its base property by a product of the slot value, and skips the multiplication unless the product is above zero, so a slot that reads 0 changes nothing. FlexValueFloat describes the slot reads.

Whether the holder reads mValue depends on the property:

Holder Factor
flexScaleBirthScale flex * mValue
flexScaleEmitOffset of FlexShapeDefinition flex * mValue
FlexInstanceScale flex alone. mValue is not read.

The properties are described on VfxEmitterDefinitionData.

Properties

mFlexID

U32 = 0
Edit documentation

Index of the flex slot, 0, 1 or 2. Any other value reads 0, so the property has no effect.

mValue

F32 = 0
Edit documentation

Factor per unit of flex value. The holder multiplies its base by flex * mValue, except FlexInstanceScale, which does not read it.

Referenced by 3 classes · 5 properties