unreal.PoseSearchLibrary

class unreal.PoseSearchLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

Pose Search Library

C++ Source:

  • Plugin: PoseSearch

  • Module: PoseSearch

  • File: PoseSearchLibrary.h

classmethod get_database_tags(database) Array[Name]

Get Database Tags

Parameters:

database (PoseSearchDatabase)

Returns:

tags (Array[Name]):

Return type:

Array[Name]

classmethod is_animation_asset_looping(asset) bool

Is Animation Asset Looping

Parameters:

asset (Object)

Returns:

is_asset_looping (bool):

Return type:

bool

classmethod motion_match(anim_instance, assets_to_search, pose_history_name, continuing_properties, future) PoseSearchBlueprintResult

Implementation of the core motion matching algorithm

Parameters:
  • anim_instance (AnimInstance) – Input animation instance

  • assets_to_search (Array[Object]) – Input assets to search (UPoseSearchDatabase or any animation asset containing UAnimNotifyState_PoseSearchBranchIn)

  • pose_history_name (Name) – Input tag of the associated PoseSearchHistoryCollector node in the anim graph

  • continuing_properties (PoseSearchContinuingProperties) – Input struct specyfying the currently playing animation to be able to bias the search in selecting the continuing pose

  • future (PoseSearchFutureProperties) – Input future properties to match (animation / start time / time offset)

Returns:

result (PoseSearchBlueprintResult): Output FPoseSearchBlueprintResult with the search result

Return type:

PoseSearchBlueprintResult