UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
InterchangePythonPipelineBase.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "UObject/Object.h"
8
9
10#include "InterchangePythonPipelineBase.generated.h"
11
12/*
13 * This class represents a Python pipeline. It is used by the TSoftClassPtr of the PythonPipeline asset.
14 *
15 */
16UCLASS(BlueprintType, Abstract, MinimalAPI)
18{
20public:
21
22#if WITH_EDITOR
23 INTERCHANGEENGINE_API virtual void PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent) override;
24#endif
25};
26
27
28USTRUCT()
30{
32
33 FString DefaultValue;
34 bool bLocked = false;
35};
36
37/*
38 * This class is a helper class for Python pipelines. It allows the class picker to filter the Content Browser instance we want to support
39 * in the pipeline stack.
40 *
41 * Use this class factory to be able to create an instance of a Python pipeline in the Content Browser.
42 * A Python pipeline does not have any locked properties, and all default values must be set in the Python script.
43 * This restriction exists because Python classes are transient, so any assets created from a Python class cannot be saved.
44 *
45 */
46UCLASS(BlueprintType, MinimalAPI)
48{
50
51public:
52 INTERCHANGEENGINE_API virtual void PostLoad() override;
53#if WITH_EDITOR
54 INTERCHANGEENGINE_API virtual void PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent) override;
55#endif
56
57 INTERCHANGEENGINE_API void GeneratePipeline();
58
59 INTERCHANGEENGINE_API void SetupFromPipeline(const UInterchangePythonPipelineBase* PythonPipeline, const bool bRegeneratePipeline = true);
60
62 UPROPERTY(EditAnywhere, Category = "Interchange|Python")
64
66 UPROPERTY(VisibleAnywhere, Transient, Category = "Interchange|Python")
68
69 UPROPERTY(VisibleAnywhere, Category = "Interchange|Python")
70 FString JsonDefaultProperties;
71};
72
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
#define USTRUCT(...)
Definition ObjectMacros.h:746
Definition SoftObjectPtr.h:763
Definition InterchangePipelineBase.h:217
Definition InterchangePythonPipelineBase.h:48
Definition InterchangePythonPipelineBase.h:18
Definition Object.h:95
@ false
Definition radaudio_common.h:23
Definition UnrealType.h:6865
Definition InterchangePythonPipelineBase.h:30
Definition ObjectPtr.h:488