Files
UnrealEngineUWP/Engine/Source/Editor/Matinee/Classes/MatineeTrackVectorPropHelper.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

36 lines
1.1 KiB
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "InterpTrackHelper.h"
#include "MatineeTrackVectorPropHelper.generated.h"
class SWindow;
class UInterpGroup;
class UInterpTrack;
UCLASS()
class UMatineeTrackVectorPropHelper : public UInterpTrackHelper
{
GENERATED_UCLASS_BODY()
/**
* Pops up a dialog letting user choose between a set of properties, then checks to see if that property has been bound to yet.
*
* @param PropNames Possible property names to select from.
* @return true if the property selected was acceptable, false otherwise.
*/
virtual bool ChooseProperty(TArray<FName> &PropNames) const;
void OnCreateTrackTextEntry(const FString& ChosenText, TWeakPtr<SWindow> Window, FString* OutputString);
public:
// UInterpTrackHelper interface
virtual bool PreCreateTrack( UInterpGroup* Group, const UInterpTrack *TrackDef, bool bDuplicatingTrack, bool bAllowPrompts ) const override;
virtual void PostCreateTrack( UInterpTrack *Track, bool bDuplicatingTrack, int32 TrackIndex ) const override;
};