Navigation
API > API/Plugins > API/Plugins/TextureGraphEditor
Public interface to TS Editor
| Name | ITG_Editor |
| Type | class |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraphEditor/Public/ITG_Editor.h |
| Include Path | #include "ITG_Editor.h" |
Syntax
class ITG_Editor : public FAssetEditorToolkit
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FAssetEditorToolkit → ITG_Editor
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UTG_Expression * CreateNewExpression
(
UClass* NewExpressionClass, |
Creates a new material expression of the specified class. | ITG_Editor.h | |
virtual FText GetOriginalObjectName() |
Gets the name of the mix name that we are editing | ITG_Editor.h | |
UMixInterface * GetTextureGraphInterface() |
Gets the TextureGraph edited | ITG_Editor.h | |
virtual TSharedPtr< IAssetReferenceFilter > MakeAssetReferenceFilter() |
Creates an IAssetReferenceFilter that can be used to check if an asset is valid to be used with this texture graph. | ITG_Editor.h | |
void SetMesh
(
UMeshComponent* PreviewMesh, |
This mesh will be used to display the rendering | ITG_Editor.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RefreshTool() |
Refreshes everything in the TS Editor. | ITG_Editor.h | |
void RefreshViewport() |
Refreshes the TS Editor's viewport. | ITG_Editor.h |