Navigation
API > API/Plugins > API/Plugins/PoseSearch
| Name | UPoseSearchFeatureChannel_Velocity |
| Type | class |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchFeatureChannel_Velocity.h |
| Include Path | #include "PoseSearch/PoseSearchFeatureChannel_Velocity.h" |
Syntax
UCLASS (MinimalAPI, EditInlineNew, Blueprintable, Meta=(DisplayName="Velocity Channel"),
CollapseCategories)
class UPoseSearchFeatureChannel_Velocity : public UPoseSearchFeatureChannel
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPoseSearchFeatureChannel → UPoseSearchFeatureChannel_Velocity
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPoseSearchFeatureChannel_Velocity() |
PoseSearch/PoseSearchFeatureChannel_Velocity.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDefaultWithRootBone | bool | Experimental, this feature might be removed without warning, not for production use if bDefaultWithRootBone is true Bone.BoneName and OriginBone.BoneName get initialized to the associated skeleton root bone if equals to NAME_None, otherwise transforms from the trajectory will be used | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
| bNormalize | bool | If bNormalize is true, velocity will be clamped to a maximum size of one (UPoseSearchFeatureChannel_Velocity will be matching the "direction" of the velocity) | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
| Bone | FBoneReference | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
| bUseBlueprintQueryOverride | bool | PoseSearch/PoseSearchFeatureChannel_Velocity.h | ||
| bUseCharacterSpaceVelocities | bool | If bUseCharacterSpaceVelocities is true, velocities will be calculated from the positions in character space, otherwise they will be calculated using global space positions | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
| ComponentStripping | EComponentStrippingVector | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
| DebugColor | FLinearColor | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
| InputQueryPose | EInputQueryPose | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
| NormalizationGroup | FName | If set, all the channels of the same class with the same cardinality, and the same NormalizationGroup, will be normalized together. | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
| OriginBone | FBoneReference | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
| OriginRole | FName | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
| OriginTimeOffset | float | The data relative to the sampling time associated to this channel origin (root / trajectory bone) will be offsetted by OriginTimeOffset seconds. | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
| PermutationTimeType | EPermutationTimeType | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
| SampleRole | FName | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
| SampleTimeOffset | float | The data relative to the sampling time associated to this channel will be offsetted by SampleTimeOffset seconds. | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
| SamplingAttributeId | int32 | If SamplingAttributeId >= 0, ALL the animations contained in the pose search database referencing the schema containing this channel are expected to have UAnimNotifyState_PoseSearchSamplingAttribute notify state with a matching SamplingAttributeId, and the UAnimNotifyState_PoseSearchSamplingAttribute properties will be used as source of data instead of this channel "Bone". | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
| SchemaBoneIdx | int8 | Index referencing the associated bone in UPoseSearchSchema::BoneReferences | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
| SchemaOriginBoneIdx | int8 | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
| Weight | float | PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector BP_GetWorldVelocity
(
const UAnimInstance* AnimInstance |
PoseSearch/PoseSearchFeatureChannel_Velocity.h |
|
|
USkeleton * GetSkeleton
(
bool& bInvalidSkeletonIsError, |
PoseSearch/PoseSearchFeatureChannel_Velocity.h |
Overridden from UPoseSearchFeatureChannel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddDependentChannels
(
UPoseSearchSchema* Schema |
PoseSearch/PoseSearchFeatureChannel_Velocity.h | ||
virtual void BuildQuery
(
UE::PoseSearch::FSearchContext& SearchContext |
Called at runtime to add this channel's data to the query pose vector. | PoseSearch/PoseSearchFeatureChannel_Velocity.h | |
virtual void FillWeights
(
TArrayView< float > Weights |
Called at database build time to collect feature weights. | PoseSearch/PoseSearchFeatureChannel_Velocity.h | |
virtual bool Finalize
(
UPoseSearchSchema* Schema |
Called during UPoseSearchSchema::Finalize to prepare the schema for this channel. | PoseSearch/PoseSearchFeatureChannel_Velocity.h | |
virtual UE::PoseSearch::TLabelBuilder & GetLabel
(
UE::PoseSearch::TLabelBuilder& LabelBuilder, |
Returns the TLabelBuilder used editor side to identify this UPoseSearchFeatureChannel (for instance in the pose search debugger) | PoseSearch/PoseSearchFeatureChannel_Velocity.h | |
virtual FName GetNormalizationGroup () |
If this channel GetNormalizationGroup returns a valid FName, all the channels of the same class with the same cardinality, and the same NormalizationGroup, will make CanBeNormalizedWith return true and will be normalized together. | PoseSearch/PoseSearchFeatureChannel_Velocity.h | |
virtual EPermutationTimeType GetPermutationTimeType() |
PoseSearch/PoseSearchFeatureChannel_Velocity.h | ||
virtual bool IndexAsset
(
UE::PoseSearch::FAssetIndexer& Indexer |
Called at database build time to populate pose vectors with this channel's data. | PoseSearch/PoseSearchFeatureChannel_Velocity.h |