Navigation
API > API/Plugins > API/Plugins/UVEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPreviewGeometry
- UUVEditorBackgroundPreview
References
| Module | UVEditor |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditor/Public/UVEditorBackgroundPreview.h |
| Include | #include "UVEditorBackgroundPreview.h" |
Syntax
UCLASS (Transient)
class UUVEditorBackgroundPreview : public UPreviewGeometry
Remarks
Serves as a container for the background texture/material display in the UVEditor. This class is responsible for managing the quad drawn behind the grid, as well as maintaining the texture and material choices from the user to display.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UTriangleSetComponent > | BackgroundComponent | The component containing the quad visualization | |
| TObjectPtr< UMaterialInstanceDynamic > | BackgroundMaterial | The active material being displayed for the background | |
| bool | bSettingsModified | ||
| FOnBackgroundMaterialChange | OnBackgroundMaterialChange | ||
| TObjectPtr< UUVEditorBackgroundPreviewProperties > | Settings | Visualization settings |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnTick
(
float DeltaTime |
Client must call this every frame for changes to .Settings to be reflected in rendered result. | |
| void | |||
| void |
Overridden from UPreviewGeometry
| Type | Name | Description | |
|---|---|---|---|
| void | OnCreated () |
Called at the end of CreateInWorld() to allow subclasses to add additional setup |
Typedefs
| Name | Description |
|---|---|
| FOnBackgroundMaterialChange |