40 lines
969 B
C
40 lines
969 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
#include "Misc/Guid.h"
|
||
|
|
#include "Templates/SubclassOf.h"
|
||
|
|
#include "ISequencer.h"
|
||
|
|
#include "MovieSceneTrack.h"
|
||
|
|
#include "ISequencerTrackEditor.h"
|
||
|
|
#include "TrackEditors/MaterialTrackEditor.h"
|
||
|
|
|
||
|
|
class UMaterialInterface;
|
||
|
|
class UMovieSceneMaterialTrack;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* A specialized material track editor for LGUI custom materials
|
||
|
|
*/
|
||
|
|
class FLGUIMaterialTrackEditor
|
||
|
|
: public FMaterialTrackEditor
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
|
||
|
|
FLGUIMaterialTrackEditor( TSharedRef<ISequencer> InSequencer );
|
||
|
|
|
||
|
|
static TSharedRef<ISequencerTrackEditor> CreateTrackEditor( TSharedRef<ISequencer> OwningSequencer );
|
||
|
|
|
||
|
|
public:
|
||
|
|
|
||
|
|
// ISequencerTrackEditor interface
|
||
|
|
|
||
|
|
virtual bool SupportsType( TSubclassOf<UMovieSceneTrack> Type ) const override;
|
||
|
|
|
||
|
|
protected:
|
||
|
|
|
||
|
|
// FMaterialtrackEditor interface
|
||
|
|
|
||
|
|
virtual UMaterialInterface* GetMaterialInterfaceForTrack( FGuid ObjectBinding, UMovieSceneMaterialTrack* MaterialTrack ) override;
|
||
|
|
};
|