Files
UnrealEngineUWP/Engine/Source/Editor/AnimGraph/Classes/AnimationGraph.h
braeden shosa 3ccce0de2c Inertialization error logging.
- Inertialization requests made without the context of an ancestor inertialization node now log an error identifying the source of the request.
- Added an editor only table to map runtime nodes back to their source. This enables runtime node errors to identify the source.
- The log messages are text only for now, as this is a limitation of the current message log handling in AnimInstanceProxy. However, having the reverse map gets us halfway to runtime node messages with clickable hyperlinks.
- Don't log errors if anim graph blend time is zero. Anim graph times are allowed to be zero to cancel inertialziation, but there's no need to complain about a missing inertialization node in that case.
- Improved inertialization documentation
#jira UE-80532
#rb thomas.sarkanen
[FYI] thomas.sarkanen, laurent.delayen, zack.letters

#ROBOMERGE-SOURCE: CL 9827176 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v546-9757112)

[CL 9827179 by braeden shosa in Main branch]
2019-10-24 21:21:22 -04:00

29 lines
831 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "EdGraph/EdGraph.h"
#include "Animation/AnimClassInterface.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(MinimalAPI)
class 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;
};