The condition that picks the target.
LerpVec4LogicDriver
Inheritance 1 ancestor · 20 siblings
- ILogicDriver
- 0xf7665f1a (removed in patch 16.1)
- ColorChooserMaterialDriver
- ColorGraphMaterialDriver
- EasedVector4ConceptLogicDriver
- EmptyLogicDriver
- Float4FromLogicDrivers
- Float4LiteralMaterialDriver
- ILogicFloatDriver117
- ILogicVector2Driver1
- ILogicVector3Driver8
- LerpVec4LogicDrivercurrent
- MaxMaterialDriver
- MinMaterialDriver
- PlayerPositionDynamicMaterialDriver
- RawVector4ConceptLogicDriver
- RemapVec4MaterialDriver
- SequenceMaterialVectorDriver
- SpecificColorMaterialDriver
- SwitchMaterialDriver1
- TftTeamCannonMaterialDriver
- UVScaleBiasFromAnimationDynamicMaterialDriver
Class Documentation
Edit documentationA vector driver that fades between two vectors when a
bool driver changes. While BoolDriver is true the value
moves toward OnValue, and while it is false toward OffValue. It is the four-component
form of LerpMaterialDriver, and each component fades as
the value of that driver does:
- The driver keeps one current value per source. The value of a source is removed when the source is destroyed.
- The first evaluation for a source returns the target at once.
- After that, each evaluation moves the current value toward the target by the time of
the last frame. A full swing from one value to the other takes
TurnOnTimeSecorTurnOffTimeSecseconds. - Each component stays between its
OffValueand itsOnValue.
Properties
OffValue
Vec4 = [0, 0, 0, 1] The target while BoolDriver is false.
OnValue
Vec4 = [1, 1, 1, 1] The target while BoolDriver is true.
TurnOffTimeSec
F32 = 1 The time, in seconds, of a full fade from OnValue to OffValue. 0 switches at once.
TurnOnTimeSec
F32 = 1 The time, in seconds, of a full fade from OffValue to OnValue. 0 switches at once.