Skip to content

ConditionFloatPairData

Value struct

Class Documentation

Edit documentation

One range of a ConditionFloatClipData: a bound, the child that plays in that range, and how long the clip stays on this child after the value has left the range.

Properties

mClipName

Hash = "0x0"
Edit documentation

The child that plays in this range, as a key of AnimationGraphData.mClipDataMap. An empty name, or a name that is not in the map, plays nothing in this range and leaves the child that plays.

mHoldAnimationToHigher

F32 = 0
Edit documentation

How long the clip stays on this child after the value has moved to a higher range, in seconds. It works like mHoldAnimationToLower.

mHoldAnimationToLower

F32 = 0
Edit documentation

How long the clip stays on this child after the value has moved to a lower range, in seconds. While the time runs, the clip keeps choosing this child, so it keeps playing. When the time is over, ConditionFloatClipData.mChildAnimDelaySwitchTime starts, so the two add up.

  • The time counts only while the value is outside this range. If the value comes back before the time is over, the count stops and this child plays on. The next time the value leaves, the hold starts again from the full value.
  • If the value moves on to a third range while the hold runs, the hold is not started again.
  • "Lower" compares the mValue of the two entries, not the value itself.

0 switches at once.

mValue

F32 = 0
Edit documentation

The bound of the range, in the unit of the clip's Updater. For values of 0 or more it is the lower bound of the range. For values below 0 it is the upper bound. See ConditionFloatClipData.mConditionFloatPairDataList.

Referenced by 1 class · 1 property