Files
UnrealEngine/Engine/Source/Editor/Persona/Private/AnimTimeline/AnimTimelineTrack_Attribute.h
2025-05-18 13:04:45 +08:00

26 lines
884 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "AnimTimeline/AnimTimelineTrack.h"
struct FAnimatedBoneAttribute;
/** Animation timeline track inserted for each animated attribute (inserted as child of FAnimTimelineTrack_PerBoneAttributes) */
class FAnimTimelineTrack_Attribute : public FAnimTimelineTrack
{
ANIMTIMELINE_DECLARE_TRACK(FAnimTimelineTrack_Attribute, FAnimTimelineTrack);
public:
FAnimTimelineTrack_Attribute(const FAnimatedBoneAttribute& InAttribute, const TSharedRef<FAnimModel>& InModel);
/** FAnimTimelineTrack interface */
virtual TSharedRef<SWidget> GenerateContainerWidgetForOutliner(const TSharedRef<SAnimOutlinerItem>& InRow) override;
virtual FText GetLabel() const override;
virtual FText GetToolTipText() const override;
private:
const FAnimatedBoneAttribute& Attribute;
TSharedPtr<SWidget> OutlinerWidget;
};