Navigation
API > API/Plugins > API/Plugins/MotionWarping > API/Plugins/MotionWarping/UMotionWarpingComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddOrUpdateWarpTargetFromComponent
(
FName WarpTargetName, |
@TODO: Deprecate this. | MotionWarpingComponent.h | |
void AddOrUpdateWarpTargetFromComponent
(
FName WarpTargetName, |
Create and adds or update a target associated with a specified name | MotionWarpingComponent.h |
|
AddOrUpdateWarpTargetFromComponent(FName, const USceneComponent *, FName, bool, FVector, FRotator)
Description
@TODO: Deprecate this.
| Name | AddOrUpdateWarpTargetFromComponent |
| Type | function |
| Header File | /Engine/Plugins/Animation/MotionWarping/Source/MotionWarping/Public/MotionWarpingComponent.h |
| Include Path | #include "MotionWarpingComponent.h" |
| Source | /Engine/Plugins/Animation/MotionWarping/Source/MotionWarping/Private/MotionWarpingComponent.cpp |
void AddOrUpdateWarpTargetFromComponent
(
FName WarpTargetName,
const USceneComponent * Component,
FName BoneName,
bool bFollowComponent,
FVector LocationOffset,
FRotator RotationOffset
)
AddOrUpdateWarpTargetFromComponent(FName, const USceneComponent *, FName, bool, EWarpTargetLocationOffsetDirection, FVector, FRotator)
Description
Create and adds or update a target associated with a specified name
| Name | AddOrUpdateWarpTargetFromComponent |
| Type | function |
| Header File | /Engine/Plugins/Animation/MotionWarping/Source/MotionWarping/Public/MotionWarpingComponent.h |
| Include Path | #include "MotionWarpingComponent.h" |
| Source | /Engine/Plugins/Animation/MotionWarping/Source/MotionWarping/Private/MotionWarpingComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Motion Warping")
void AddOrUpdateWarpTargetFromComponent
(
FName WarpTargetName,
const USceneComponent * Component,
FName BoneName,
bool bFollowComponent,
EWarpTargetLocationOffsetDirection LocationOffsetDirection,
FVector LocationOffset,
FRotator RotationOffset
)
Parameters
| Name | Remarks |
|---|---|
| WarpTargetName | Warp target identifier |
| Component | Scene Component used to get the target transform |
| BoneName | Optional bone or socket in the component used to get the target transform. |
| bFollowComponent | Whether the target transform should update while the warping is active. Useful for tracking moving targets. Note that this will be one frame off if our owner ticks before the target actor. Add tick pre-requisites to avoid this. |
| LocationOffsetDirection | Direction of LocationOffset |
| LocationOffset | Optional translation offset to apply to the transform we get from the component |
| RotationOffset | Optional rotation offset to apply to the transform we get from the component |