Files
UnrealEngineUWP/Engine/Source/Editor/GraphEditor/Private/AnimationNodes/SGraphNodeLayeredBoneBlend.h
Martin Wilson 9a04dea5bd Layered blend per bone starts with 2 poses by default and has an add pin button
#TTP 308411 - Animation Blueprint: Layered blend per bone should have 2 blends by default, and should have ADD PIN button like regular blueprints

[CL 2315863 by Martin Wilson in Main branch]
2014-10-01 09:43:43 -04:00

27 lines
606 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
class UAnimGraphNode_LayeredBoneBlend;
class SGraphNodeLayeredBoneBlend : public SGraphNode
{
public:
SLATE_BEGIN_ARGS(SGraphNodeLayeredBoneBlend){}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, UAnimGraphNode_LayeredBoneBlend* InNode);
protected:
// SGraphNode interface
virtual void CreateInputSideAddButton(TSharedPtr<SVerticalBox> InputBox) override;
virtual FReply OnAddPin() override;
// End of SGraphNode interface
private:
// The node that we represent
UAnimGraphNode_LayeredBoneBlend* Node;
};