Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UMoverComponent
Description
Retrieves Movement modifier by writing to a target instance if it is the matching type. Note: Writing to the struct returned will not modify the active struct.
| Name | K2_FindMovementModifier |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverComponent.h |
| Include Path | #include "MoverComponent.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoverComponent.cpp |
UFUNCTION (BlueprintCallable, CustomThunk, Category=Mover,
Meta=(CustomStructureParam="TargetAsRawBytes", AllowAbstract="false", DisplayName="Find Movement Modifier"))
void K2_FindMovementModifier
(
FMovementModifierHandle ModifierHandle,
bool & bFoundModifier,
int32 & TargetAsRawBytes
) const
Parameters
| Name | Remarks |
|---|---|
| ModifierHandle | Handle of the modifier we're trying to cancel |
| bFoundModifier | Flag indicating whether modifier was found and data was actually written to target struct instance |
| TargetAsRawBytes | The data struct instance to write to, which must be a FMovementModifierBase sub-type |