Navigation
API > API/Plugins > API/Plugins/MotionWarping
References
| Module | MotionWarping |
| Header | /Engine/Plugins/Animation/MotionWarping/Source/MotionWarping/Public/RootMotionModifier.h |
| Include | #include "RootMotionModifier.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FMotionWarpingTarget
Remarks
Represents a point of alignment in the world
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bFollowComponent | Whether the target transform calculated from a component and an optional bone should be updated during the warp | |
| FName | BoneName | Optional bone name in the component used to calculate the final target transform | |
| TWeakObjectPtr< const USceneComponent > | Component | Optional component used to calculate the final target transform | |
| FVector | Location | When the warp target is created from a component this stores the location of the component at the time of creation, otherwise its the location supplied by the user | |
| FName | Name | Unique name for this warp target | |
| FRotator | Rotation | When the warp target is created from a component this stores the rotation of the component at the time of creation, otherwise its the rotation supplied by the user |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMotionWarpingTarget
(
const FName& InName, |
|||
FMotionWarpingTarget
(
const FName& InName, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetLocation () |
||
| FQuat | GetRotation () |
||
| FTransform | GetTargetTransformFromComponent
(
const USceneComponent* Comp, |
||
| FTransform | |||
| FRotator | Rotator () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FMotionWarpingTarget& Other |
||
| bool | operator==
(
const FMotionWarpingTarget& Other |