Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/MoveLibrary
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMovementMixer
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/MovementMixer.h |
| Include | #include "MoveLibrary/MovementMixer.h" |
Syntax
UCLASS (BlueprintType)
class UMovementMixer : public UObject
Remarks
Class in charge of Mixing various moves when evaluating/combining moves. The mixer used can be set on the MoverComponent itself.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8 | CurrentHighestPriority | Stores the current highest priority we've hit during this round of mixing. Will get reset. Note: Currently only used for mixing layered moves. | |
| float | CurrentLayeredMoveStartTime | Earliest start time of the layered move with highest priority. Used to help break ties of moves with same priority. Note: Currently only used for mixing layered moves. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CheckPriority
(
const FLayeredMoveBase* LayeredMove, |
Helper function for layered move mixing to check priority and start time if priority is the same. | |
| void | MixLayeredMove
(
const FLayeredMoveBase& ActiveMove, |
In charge of mixing Layered Move proposed moves into a cumulative proposed move based on mix mode and priority. | |
| void | MixProposedMoves
(
const FProposedMove& MoveToMix, |
In charge of mixing proposed moves together. | |
| void | Resets all state used for mixing. Should be called before or after finished mixing moves. |