Navigation
API > API/Plugins > API/Plugins/PoseSearch
Set of functions to help populate a FPoseSearchQueryTrajectory for motion matching.
| Name | UPoseSearchTrajectoryLibrary |
| Type | class |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchTrajectoryLibrary.h |
| Include Path | #include "PoseSearch/PoseSearchTrajectoryLibrary.h" |
Syntax
UCLASS (MinimalAPI)
class UPoseSearchTrajectoryLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UPoseSearchTrajectoryLibrary
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorsToIgnore | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > & | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| ActorsToIgnore | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > & | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| AnimInstance | const UAnimInstance * | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| bApplyGravity | const UAnimInstance bool | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| bApplyGravity | FVector bool | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| bIgnoreSelf | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| bIgnoreSelf | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| bTraceComplex | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| bTraceComplex | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| CollisionResult | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResults & | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| CollisionResult | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResults & | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| CurrentPosition | FVector | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| CurrentRotation | FVectorFQuat | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| CurrentTime | FVectorFQuat const FPoseSearchTrajectoryData::FSampling float float | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| DeltaTime | FVectorFQuat const FPoseSearchTrajectoryData::FSampling float | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| DrawDebugType | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| DrawDebugType | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| DrawTime | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool float FLinearColorFLinearColor float | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| DrawTime | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool float FLinearColorFLinearColor float | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| FloorCollisionsOffset | const UAnimInstance bool float | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| FloorCollisionsOffset | FVector bool FVector float | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| GravityAccel | FVector bool FVector | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| MaxObstacleHeight | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool float | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| MaxObstacleHeight | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool float | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| OutTrajectory | const UAnimInstance bool float FTransformTrajectory & | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| OutTrajectory | FVector bool FVector float FTransformTrajectory & | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| StartingVelocity | FVector | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| TraceChannel | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| TraceChannel | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| TraceColor | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool float FLinearColor | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| TraceColor | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool float FLinearColor | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| TraceHitColor | FVector bool FVector float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool float FLinearColorFLinearColor | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| TraceHitColor | const UAnimInstance bool float FTransformTrajectoryFPoseSearchTrajectory_WorldCollisionResultsETraceTypeQuery bool const TArray< AActor * > EDrawDebugTrace::Type bool float FLinearColorFLinearColor | PoseSearch/PoseSearchTrajectoryLibrary.h | ||
| TrajectoryDataSampling | FVectorFQuat const FPoseSearchTrajectoryData::FSampling & | PoseSearch/PoseSearchTrajectoryLibrary.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
|
Experimental: Process InTrajectory to apply gravity and handle collisions. | PoseSearch/PoseSearchTrajectoryLibrary.h | |
|
Experimental: Process InTrajectory to apply gravity and handle collisions. | PoseSearch/PoseSearchTrajectoryLibrary.h | |
|
Experimental: Update the history purely based on current position, without taking into account ground velocities DeltaTime is the time since the last call to this method | PoseSearch/PoseSearchTrajectoryLibrary.h | |
|
Experimental: Update the history purely based on current position, without taking into account ground velocities. | PoseSearch/PoseSearchTrajectoryLibrary.h | |
const UAnimInstance UPARAM
(
ref |
PoseSearch/PoseSearchTrajectoryLibrary.h |
|
|
UPARAM
(
ref |
PoseSearch/PoseSearchTrajectoryLibrary.h |
|
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DrawTrajectory
(
const UObject* WorldContextObject, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void DrawTransformTrajectory
(
const UObject* WorldContextObject, |
PoseSearch/PoseSearchTrajectoryLibrary.h |
|
|
static void GetTrajectoryAngularVelocity
(
UPARAM(ref) const FPoseSearchQueryTrajectory& InTrajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void GetTrajectorySampleAtTime
(
UPARAM(ref) const FPoseSearchQueryTrajectory& InTrajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void GetTrajectoryVelocity
(
UPARAM(ref) const FPoseSearchQueryTrajectory& InTrajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static FTransform GetTransform
(
UPARAM(ref) const FPoseSearchQueryTrajectorySample& InTrajectorySample |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void GetTransformTrajectoryAngularVelocity
(
UPARAM(ref) const FTransformTrajectory& InTrajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h |
|
|
static void GetTransformTrajectorySampleAtTime
(
UPARAM(ref) const FTransformTrajectory& InTrajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h |
|
|
static FTransform GetTransformTrajectorySampleTransform
(
UPARAM(ref) const FTransformTrajectorySample& InTrajectorySample |
PoseSearch/PoseSearchTrajectoryLibrary.h |
|
|
static void GetTransformTrajectoryVelocity
(
UPARAM(ref) const FTransformTrajectory& InTrajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h |
|
|
static void HandleTrajectoryWorldCollisions
(
const UObject* WorldContextObject, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void HandleTrajectoryWorldCollisionsWithGravity
(
const UObject* WorldContextObject, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void InitTrajectorySamples
(
FPoseSearchQueryTrajectory& Trajectory, |
Initialize history and predicted samples based on sampling settings and a default state | PoseSearch/PoseSearchTrajectoryLibrary.h | |
static PRAGMA_ENABLE_DEPRECATION_WARNINGS void InitTrajectorySamples
(
FTransformTrajectory& Trajectory, |
NON- DEPRECATED ////////////////////////////////////////////////////////. | PoseSearch/PoseSearchTrajectoryLibrary.h | |
static PRAGMA_DISABLE_DEPRECATION_WARNINGS void InitTrajectorySamples
(
FPoseSearchQueryTrajectory& Trajectory, |
DEPRECATED /////////////////////////////////////////////////////////////. | PoseSearch/PoseSearchTrajectoryLibrary.h | |
static void InitTrajectorySamples
(
FPoseSearchQueryTrajectory& Trajectory, |
Initialize history and predicted samples based on sampling settings and a default state | PoseSearch/PoseSearchTrajectoryLibrary.h | |
static void PoseSearchGeneratePredictorTrajectory
(
UObject* InPredictor, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void PoseSearchGeneratePredictorTransformTrajectory
(
UObject* InPredictor, |
PoseSearch/PoseSearchTrajectoryLibrary.h |
|
|
static void PoseSearchGenerateTrajectory
(
const UObject* InAnimInstance, |
Generates a prediction trajectory based of the current character intent. | PoseSearch/PoseSearchTrajectoryLibrary.h | |
static void PoseSearchGenerateTrajectoryWithPredictor
(
TScriptInterface< IPoseSearchTrajectoryPredictorInterface > InPredictor, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static PRAGMA_ENABLE_EXPERIMENTAL_WARNINGS void PoseSearchGenerateTransformTrajectory
(
const UObject* InAnimInstance, |
Generates a prediction trajectory based of the current character intent. For use with Character actors. | PoseSearch/PoseSearchTrajectoryLibrary.h |
|
static void PoseSearchGenerateTransformTrajectoryWithPredictor
(
TScriptInterface< IPoseSearchTrajectoryPredictorInterface > InPredictor, |
PoseSearch/PoseSearchTrajectoryLibrary.h |
|
|
static FVector RemapVectorMagnitudeWithCurve
(
const FVector& Vector, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void UpdateHistory_TransformHistory
(
FPoseSearchQueryTrajectory& Trajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void UpdateHistory_TransformHistory
(
FPoseSearchQueryTrajectory& Trajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void UpdateHistory_TransformHistory
(
FTransformTrajectory& Trajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void UpdateHistory_TransformHistory
(
FPoseSearchQueryTrajectory& Trajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void UpdateHistory_TransformHistory
(
FTransformTrajectory& Trajectory, |
Update history by tracking offsets that result from character intent (e.g. movement component velocity) and applying that to the current world transform. | PoseSearch/PoseSearchTrajectoryLibrary.h | |
static void UpdatePrediction_SimulateCharacterMovement
(
FPoseSearchQueryTrajectory& Trajectory, |
PoseSearch/PoseSearchTrajectoryLibrary.h | ||
static void UpdatePrediction_SimulateCharacterMovement
(
FTransformTrajectory& Trajectory, |
Update prediction by simulating the movement math for ground locomotion from UCharacterMovementComponent. | PoseSearch/PoseSearchTrajectoryLibrary.h |