FPoseSearchFeatureVectorBuilder

Helper object for writing features into a float buffer according to a feature vector layout.

Choose your operating system:

Windows

macOS

Linux

References

Module

PoseSearch

Header

/Engine/Plugins/Experimental/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearch.h

Include

#include "PoseSearch/PoseSearch.h"

Syntax

USTRUCT(BlueprintType, Category="Animation|Pose Search")
struct FPoseSearchFeatureVectorBuilder

Remarks

Helper object for writing features into a float buffer according to a feature vector layout. Keeps track of which features are present, allowing the feature vector to be built up piecemeal. FFeatureVectorBuilder is used to build search queries at runtime and for adding samples during search index construction.

Functions

Name Description

Public function

void

 

BuildFromTrajectory

(
    const FTrajectorySampleRange& Traj...
)

Public function

void

 

CopyFeature

(
    const FPoseSearchFeatureVectorBuild...,
    int32 FeatureIdx
)

Public function

void

 

CopyFromSearchIndex

(
    const FPoseSearchIndex& SearchInde...,
    int32 PoseIdx
)

Public function Const

TArrayView< ...

 

GetNormalizedValues()

Public function Const

const UPoseS...

 

GetSchema()

Public function Const

TArrayView< ...

 

GetValues()

Public function

void

 

Init

(
    const UPoseSearchSchema* Schem...
)

Public function Const

bool

 

IsCompatible

(
    const FPoseSearchFeatureVectorBuild...
)

Public function Const

bool

 

IsComplete()

Public function Const

bool

 

IsInitialized()

Public function Const

bool

 

IsInitializedForSchema

(
    const UPoseSearchSchema* Schem...
)

Public function

void

 

MergeReplace

(
    const FPoseSearchFeatureVectorBuild...
)

Public function

void

 

Normalize

(
    const FPoseSearchIndex& ForSearchI...
)

Public function

void

 

Reset()

Public function

void

 

ResetFeatures()

Public function

void

 

SetAngularVelocity

(
    FPoseSearchFeatureDesc Feature,
    const FTransform& Transform,
    const FTransform& PrevTransform,
    float DeltaTime
)

Public function

void

 

SetLinearVelocity

(
    FPoseSearchFeatureDesc Feature,
    const FTransform& Transform,
    const FTransform& PrevTransform,
    float DeltaTime
)

Public function

void

 

SetPosition

(
    FPoseSearchFeatureDesc Feature,
    const FVector& Translation
)

Public function

void

 

SetRotation

(
    FPoseSearchFeatureDesc Feature,
    const FQuat& Rotation
)

Public function

void

 

SetTransform

(
    FPoseSearchFeatureDesc Feature,
    const FTransform& Transform
)

Public function

void

 

SetTransformVelocity

(
    FPoseSearchFeatureDesc Feature,
    const FTransform& Transform,
    const FTransform& PrevTransform,
    float DeltaTime
)

Public function

void

 

SetVector

(
    FPoseSearchFeatureDesc Feature,
    const FVector& Vector
)

Public function

bool

 

TrySetPoseFeatures