You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- SetPreviewSkeletalMesh to UAnimationAsset and UAnimBlueprint - Functionality to retrieve UAnimationGraphs and UAnimationGraphNodes of a specific class from UAnimBlueprint and UAnimationGraph respectively - Functionality for pose driver/asset scripting #jira UE-117797 #rb Thomas.Sarkanen #preflight 60d075e32ab218000115936a #preflight 60d1a3eaa819040001397a52 [CL 16741838 by Jurre deBaare in ue5-main branch]
34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "EdGraph/EdGraph.h"
|
|
#include "Animation/AnimClassInterface.h"
|
|
#include "AnimGraphNode_Base.h"
|
|
#include "AnimationGraph.generated.h"
|
|
|
|
class UEdGraphPin;
|
|
|
|
/** Delegate fired when a pin's default value is changed */
|
|
DECLARE_MULTICAST_DELEGATE_OneParam(FOnPinDefaultValueChanged, UEdGraphPin* /*InPinThatChanged*/)
|
|
|
|
UCLASS(BlueprintType)
|
|
class ANIMGRAPH_API UAnimationGraph : public UEdGraph
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
/** Delegate fired when a pin's default value is changed */
|
|
FOnPinDefaultValueChanged OnPinDefaultValueChanged;
|
|
|
|
/** Blending options for animation graphs in Linked Animation Blueprints. */
|
|
UPROPERTY(EditAnywhere, Category = GraphBlending, meta = (ShowOnlyInnerProperties))
|
|
FAnimGraphBlendOptions BlendOptions;
|
|
|
|
/** Returns contained graph nodes of the specified (or child) class */
|
|
UFUNCTION(BlueprintCallable, Category=AnimationGraph)
|
|
void GetGraphNodesOfClass(TSubclassOf<UAnimGraphNode_Base> NodeClass, TArray<UAnimGraphNode_Base*>& GraphNodes, bool bIncludeChildClasses = true);
|
|
};
|
|
|