2020-09-09 08:32:25 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#include "AnimBlueprintCompilerCreationContext.h"
|
|
|
|
|
#include "AnimBlueprintCompiler.h"
|
2020-09-24 00:43:27 -04:00
|
|
|
#include "EdGraph/EdGraphSchema.h"
|
2020-09-09 08:32:25 -04:00
|
|
|
|
|
|
|
|
FOnStartCompilingClass& FAnimBlueprintCompilerCreationContext::OnStartCompilingClass()
|
|
|
|
|
{
|
|
|
|
|
return CompilerContext->OnStartCompilingClassDelegate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FOnPreProcessAnimationNodes& FAnimBlueprintCompilerCreationContext::OnPreProcessAnimationNodes()
|
|
|
|
|
{
|
|
|
|
|
return CompilerContext->OnPreProcessAnimationNodesDelegate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FOnPostProcessAnimationNodes& FAnimBlueprintCompilerCreationContext::OnPostProcessAnimationNodes()
|
|
|
|
|
{
|
|
|
|
|
return CompilerContext->OnPostProcessAnimationNodesDelegate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FOnPostExpansionStep& FAnimBlueprintCompilerCreationContext::OnPostExpansionStep()
|
|
|
|
|
{
|
|
|
|
|
return CompilerContext->OnPostExpansionStepDelegate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FOnFinishCompilingClass& FAnimBlueprintCompilerCreationContext::OnFinishCompilingClass()
|
|
|
|
|
{
|
|
|
|
|
return CompilerContext->OnFinishCompilingClassDelegate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FOnCopyTermDefaultsToDefaultObject& FAnimBlueprintCompilerCreationContext::OnCopyTermDefaultsToDefaultObject()
|
|
|
|
|
{
|
|
|
|
|
return CompilerContext->OnCopyTermDefaultsToDefaultObjectDelegate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FAnimBlueprintCompilerCreationContext::RegisterKnownGraphSchema(TSubclassOf<UEdGraphSchema> InGraphSchemaClass)
|
|
|
|
|
{
|
|
|
|
|
CompilerContext->KnownGraphSchemas.AddUnique(InGraphSchemaClass);
|
|
|
|
|
}
|
|
|
|
|
|