24 lines
713 B
C++
24 lines
713 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Tracks/MovieSceneIntegerTrack.h"
|
|
#include "Sections/MovieSceneIntegerSection.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(MovieSceneIntegerTrack)
|
|
|
|
UMovieSceneIntegerTrack::UMovieSceneIntegerTrack( const FObjectInitializer& ObjectInitializer )
|
|
: Super( ObjectInitializer )
|
|
{
|
|
SupportedBlendTypes = FMovieSceneBlendTypeField::All();
|
|
}
|
|
|
|
bool UMovieSceneIntegerTrack::SupportsType(TSubclassOf<UMovieSceneSection> SectionClass) const
|
|
{
|
|
return SectionClass == UMovieSceneIntegerSection::StaticClass();
|
|
}
|
|
|
|
UMovieSceneSection* UMovieSceneIntegerTrack::CreateNewSection()
|
|
{
|
|
return NewObject<UMovieSceneIntegerSection>(this, NAME_None, RF_Transactional);
|
|
}
|
|
|