Navigation
API > API/Plugins > API/Plugins/MotionWarping
Represents a point of alignment in the world
| Name | FMotionWarpingTarget |
| Type | struct |
| Header File | /Engine/Plugins/Animation/MotionWarping/Source/MotionWarping/Public/RootMotionModifier.h |
| Include Path | #include "RootMotionModifier.h" |
Syntax
USTRUCT (BlueprintType )
struct FMotionWarpingTarget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RootMotionModifier.h | |||
FMotionWarpingTarget
(
const FName& InName, |
RootMotionModifier.h | ||
FMotionWarpingTarget
(
const FName& InName, |
@TODO: Deprecate this. | RootMotionModifier.h | |
FMotionWarpingTarget
(
const FName& InName, |
RootMotionModifier.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AvatarActor | TWeakObjectPtr< const AActor > | Optional Actor that uses this warping target. | RootMotionModifier.h |
|
| bCacheForwardOffset | bool | RootMotionModifier.h | ||
| bFollowComponent | bool | Whether the target transform calculated from a component and an optional bone should be updated during the warp | RootMotionModifier.h |
|
| BoneName | FName | Optional bone name in the component used to calculate the final target transform | RootMotionModifier.h |
|
| bRootMotionPaused | bool | RootMotionModifier.h | ||
| bWarpingPaused | bool | RootMotionModifier.h | ||
| CachedForwardOffset | FVector | RootMotionModifier.h | ||
| CachedRightOffset | FVector | RootMotionModifier.h | ||
| CachedUpOffset | FVector | RootMotionModifier.h | ||
| Component | TWeakObjectPtr< const USceneComponent > | Optional component used to calculate the final target transform | RootMotionModifier.h |
|
| Location | FVector | 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 | RootMotionModifier.h |
|
| LocationOffset | FVector | Optional static location offset. Only relevant when the warp target is created from a component | RootMotionModifier.h |
|
| LocationOffsetDirection | EWarpTargetLocationOffsetDirection | Direction of offset context vector | RootMotionModifier.h |
|
| Name | FName | Unique name for this warp target | RootMotionModifier.h |
|
| Rotation | FRotator | 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 | RootMotionModifier.h |
|
| RotationOffset | FRotator | Optional static rotation offset. Only relevant when the warp target is created from a component | RootMotionModifier.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CacheOffset
(
const FTransform& InTransform |
RootMotionModifier.h | ||
FVector GetLocation() |
RootMotionModifier.h | ||
FQuat GetRotation() |
RootMotionModifier.h | ||
FTransform GetTargetTrasform() |
RootMotionModifier.h | ||
void RecalculateOffset
(
FTransform& InTransform |
RootMotionModifier.h | ||
FRotator Rotator() |
RootMotionModifier.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FTransform GetTargetTransformFromComponent
(
const USceneComponent* Comp, |
RootMotionModifier.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FMotionWarpingTarget& Other |
RootMotionModifier.h | ||
bool operator==
(
const FMotionWarpingTarget& Other |
RootMotionModifier.h |