27 lines
847 B
C++
27 lines
847 B
C++
|
|
// Copyright 2017 ~ 2022 Critical Failure Studio Ltd. All rights reserved.
|
||
|
|
|
||
|
|
#include "Graphs/PaperZDAnimGraph.h"
|
||
|
|
#include "Graphs/PaperZDAnimGraphSchema_Transitional.h"
|
||
|
|
#include "PaperZDAnimBP.h"
|
||
|
|
|
||
|
|
#if ZD_VERSION_INLINED_CPP_SUPPORT
|
||
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(PaperZDAnimGraph)
|
||
|
|
#endif
|
||
|
|
|
||
|
|
//////////////////////////////////////////////////////////////////////////
|
||
|
|
//// PaperZD Anim Graph
|
||
|
|
//////////////////////////////////////////////////////////////////////////
|
||
|
|
UPaperZDAnimGraph::UPaperZDAnimGraph(const FObjectInitializer& ObjectInitializer)
|
||
|
|
: Super(ObjectInitializer)
|
||
|
|
{}
|
||
|
|
|
||
|
|
UPaperZDAnimBP* UPaperZDAnimGraph::GetAnimBP() const
|
||
|
|
{
|
||
|
|
return CastChecked<UPaperZDAnimBP>(GetOuter());
|
||
|
|
}
|
||
|
|
|
||
|
|
bool UPaperZDAnimGraph::IsTransitionalGraph() const
|
||
|
|
{
|
||
|
|
return GetSchema()->GetClass()->IsChildOf(UPaperZDAnimGraphSchema_Transitional::StaticClass());
|
||
|
|
}
|