Navigation
API > API/Plugins > API/Plugins/PoseSearchEditor
| Name | FDatabaseViewModel |
| Type | class |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Editor/Public/PoseSearchDatabaseViewModel.h |
| Include Path | #include "PoseSearchDatabaseViewModel.h" |
Syntax
class FDatabaseViewModel :
public TSharedFromThis< FDatabaseViewModel > ,
public FGCObject
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDatabaseViewModel
- FGCObject → FDatabaseViewModel
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDisplayBlockTransition | bool | PoseSearchDatabaseViewModel.h | ||
| bDisplayEventData | bool | PoseSearchDatabaseViewModel.h | ||
| bDisplayRootMotionSpeed | bool | Is animation debug draw enabled | PoseSearchDatabaseViewModel.h | |
| bDrawQueryVector | bool | PoseSearchDatabaseViewModel.h | ||
| bIsEditorSelection | bool | PoseSearchDatabaseViewModel.h | ||
| bQuantizeAnimationToPoseData | bool | PoseSearchDatabaseViewModel.h | ||
| bShowBones | bool | PoseSearchDatabaseViewModel.h | ||
| DatabaseDataDetails | TWeakPtr< SDatabaseDataDetails > | Weak pointer to the SDatabaseDataDetails | PoseSearchDatabaseViewModel.h | |
| DeltaTimeMultiplier | float | PoseSearchDatabaseViewModel.h | ||
| MaxPreviewPlayLength | float | From zero to the play length of the longest preview | PoseSearchDatabaseViewModel.h | |
| MinPreviewPlayLength | float | PoseSearchDatabaseViewModel.h | ||
| PlayTime | float | PoseSearchDatabaseViewModel.h | ||
| PoseSearchDatabasePtr | TWeakObjectPtr< UPoseSearchDatabase > | Scene asset being viewed and edited by this view model. | PoseSearchDatabaseViewModel.h | |
| PreviewActors | TArray< TArray< FDatabasePreviewActor > > | Actors to be displayed in the preview viewport | PoseSearchDatabaseViewModel.h | |
| PreviewScenePtr | TWeakPtr< FDatabasePreviewScene > | Weak pointer to the PreviewScene | PoseSearchDatabaseViewModel.h | |
| QueryVector | TArray< float > | PoseSearchDatabaseViewModel.h | ||
| SelectedActorIndexAssetIndex | int32 | PoseSearchDatabaseViewModel.h | ||
| StepDeltaTime | float | PoseSearchDatabaseViewModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAnimationAssetToDatabase
(
UObject* AnimationAsset |
PoseSearchDatabaseViewModel.h | ||
void BuildSearchIndex() |
PoseSearchDatabaseViewModel.h | ||
bool DeleteFromDatabase
(
int32 AnimationAssetIndex |
PoseSearchDatabaseViewModel.h | ||
bool GetAnimationTime
(
int32 SourceAssetIdx, |
PoseSearchDatabaseViewModel.h | ||
EPoseSearchMirrorOption GetMirrorOption
(
int32 AnimationAssetIndex |
PoseSearchDatabaseViewModel.h | ||
float GetPlayTime() |
PoseSearchDatabaseViewModel.h | ||
const UPoseSearchDatabase * GetPoseSearchDatabase () |
PoseSearchDatabaseViewModel.h | ||
| PoseSearchDatabaseViewModel.h | |||
const TArray< TArray< FDatabasePreviewActor > > & GetPreviewActors () |
PoseSearchDatabaseViewModel.h | ||
TArray< TArray< FDatabasePreviewActor > > & GetPreviewActors () |
PoseSearchDatabaseViewModel.h | ||
TRange< double > GetPreviewPlayRange() |
PoseSearchDatabaseViewModel.h | ||
TConstArrayView< float > GetQueryVector() |
PoseSearchDatabaseViewModel.h | ||
const FSearchIndexAsset * GetSelectedActorIndexAsset() |
PoseSearchDatabaseViewModel.h | ||
void Initialize
(
UPoseSearchDatabase* InPoseSearchDatabase, |
PoseSearchDatabaseViewModel.h | ||
bool IsDisableReselection
(
int32 AnimationAssetIndex |
PoseSearchDatabaseViewModel.h | ||
bool IsDisplayBlockTransitionChecked() |
PoseSearchDatabaseViewModel.h | ||
bool IsDisplayEventDataChecked() |
PoseSearchDatabaseViewModel.h | ||
bool IsDisplayRootMotionSpeedChecked() |
PoseSearchDatabaseViewModel.h | ||
bool IsEditorSelection() |
PoseSearchDatabaseViewModel.h | ||
bool IsEnabled
(
int32 AnimationAssetIndex |
PoseSearchDatabaseViewModel.h | ||
bool IsQuantizeAnimationToPoseDataChecked() |
PoseSearchDatabaseViewModel.h | ||
bool IsShowBonesChecked() |
PoseSearchDatabaseViewModel.h | ||
void OnPreviewActorClassChanged() |
PoseSearchDatabaseViewModel.h | ||
void PreviewBackward() |
PoseSearchDatabaseViewModel.h | ||
void PreviewBackwardEnd() |
PoseSearchDatabaseViewModel.h | ||
void PreviewBackwardStep() |
PoseSearchDatabaseViewModel.h | ||
void PreviewForward() |
PoseSearchDatabaseViewModel.h | ||
void PreviewForwardEnd() |
PoseSearchDatabaseViewModel.h | ||
void PreviewForwardStep() |
PoseSearchDatabaseViewModel.h | ||
void PreviewPause() |
PoseSearchDatabaseViewModel.h | ||
void ProcessSelectedActor
(
AActor* Actor |
PoseSearchDatabaseViewModel.h | ||
void RemovePreviewActors() |
PoseSearchDatabaseViewModel.h | ||
bool SetAnimationAsset
(
int32 AnimationAssetIndex, |
PoseSearchDatabaseViewModel.h | ||
void SetDisableReselection
(
int32 AnimationAssetIndex, |
PoseSearchDatabaseViewModel.h | ||
void SetDrawQueryVector
(
bool bValue |
PoseSearchDatabaseViewModel.h | ||
void SetIsEnabled
(
int32 AnimationAssetIndex, |
PoseSearchDatabaseViewModel.h | ||
void SetMirrorOption
(
int32 AnimationAssetIndex, |
PoseSearchDatabaseViewModel.h | ||
void SetPlayTime
(
float NewPlayTime, |
PoseSearchDatabaseViewModel.h | ||
int32 SetSelectedNode
(
int32 PoseIdx, |
PoseSearchDatabaseViewModel.h | ||
void SetSelectedNodes
(
const TArrayView< TSharedPtr< FDatabaseAssetTreeNode > >& InSelectedNodes |
PoseSearchDatabaseViewModel.h | ||
bool ShouldDrawQueryVector() |
PoseSearchDatabaseViewModel.h | ||
void Tick
(
float DeltaSeconds |
PoseSearchDatabaseViewModel.h | ||
void ToggleDisplayBlockTransition() |
PoseSearchDatabaseViewModel.h | ||
void ToggleDisplayEventData() |
PoseSearchDatabaseViewModel.h | ||
void ToggleDisplayRootMotionSpeed() |
PoseSearchDatabaseViewModel.h | ||
void ToggleQuantizeAnimationToPoseData() |
PoseSearchDatabaseViewModel.h | ||
void ToggleShowBones() |
PoseSearchDatabaseViewModel.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
PoseSearchDatabaseViewModel.h | ||
virtual FString GetReferencerName() |
PoseSearchDatabaseViewModel.h |