Files
UnrealEngineUWP/Engine/Source/Runtime/AnimGraphRuntime/Public/BlendListBaseLibrary.h
frederick lupien 2fb8af746d Remove empty display name from UBlendListBaseLibrary
#rnx

[CL 24593066 by frederick lupien in ue5-main branch]
2023-03-10 11:59:53 -05:00

38 lines
1.2 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Animation/AnimExecutionContext.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "Animation/AnimNodeReference.h"
#include "BlendListBaseLibrary.generated.h"
struct FAnimNode_BlendListBase;
USTRUCT(BlueprintType)
struct FBlendListBaseReference : public FAnimNodeReference
{
GENERATED_BODY()
typedef FAnimNode_BlendListBase FInternalNodeType;
};
// Exposes operations to be performed on anim state machine node contexts
UCLASS(Experimental)
class ANIMGRAPHRUNTIME_API UBlendListBaseLibrary : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
/** Get a blend list base context from an anim node context. */
UFUNCTION(BlueprintCallable, Category = "Blend List Base", meta = (BlueprintThreadSafe, ExpandEnumAsExecs = "Result"))
static FBlendListBaseReference ConvertToBlendListBase(const FAnimNodeReference& Node, EAnimNodeReferenceConversionResult& Result);
/** Reset target blend list node to that the next blend is executed from a blank state */
UFUNCTION(BlueprintCallable, Category = "Blend List Base", meta = (BlueprintThreadSafe))
static void ResetNode(const FBlendListBaseReference& BlendListBase);
};