Navigation
API > API/Editor > API/Editor/TextureEditor > API/Editor/TextureEditor/Interfaces
Inheritance Hierarchy
- IAssetEditorInstance
- FBaseToolkit
- TSharedFromThis
- FAssetEditorToolkit
- ITextureEditorToolkit
References
| Module | TextureEditor |
| Header | /Engine/Source/Editor/TextureEditor/Public/Interfaces/ITextureEditorToolkit.h |
| Include | #include "Interfaces/ITextureEditorToolkit.h" |
Syntax
class ITextureEditorToolkit : public FAssetEditorToolkit
Remarks
Interface for texture editor tool kits.
Functions
| Type | Name | Description | |
|---|---|---|---|
| double | |||
| void | CalculateTextureDimensions
(
int32& OutWidth, |
Calculates the display size of the texture, optionally including the size of the displayed texture border | |
| ESimpleElementBlendMode | |||
| ETextureEditorCubemapViewMode | |||
| double | |||
| int32 | |||
| int32 | GetFace () |
||
| int32 | GetLayer () |
||
| int32 | GetMipLevel () |
Accessors | |
| const FRotator & | |||
| ETextureEditorSampling | GetSampling () |
||
| int32 | GetSlice () |
||
| UTexture * | GetTexture () |
Returns the Texture asset being inspected by the Texture editor | |
| bool | |||
| bool | |||
| bool | |||
| float | |||
| ETextureEditorVolumeViewMode | |||
| ETextureEditorZoomMode | GetZoomMode () |
||
| bool | Returns if the Texture asset being inspected has a valid texture resource | ||
| bool | IsCurrentZoomMode
(
ETextureEditorZoomMode ZoomMode |
Returns true if this is the current zoom mode. Useful for Slate bindings. | |
| bool | |||
| bool | |||
| void | Refreshes the quick info panel | ||
| void | |||
| void | SetCubemapViewMode
(
const ETextureEditorCubemapViewMode CubemapViewMode |
||
| void | SetCustomZoomLevel
(
double ZoomValue |
||
| void | SetOrientation
(
const FRotator& InOrientation |
||
| void | SetVolumeOpacity
(
float VolumeOpacity |
||
| void | SetVolumeViewMode
(
const ETextureEditorVolumeViewMode VolumeViewMode |
||
| void | SetZoomMode
(
const ETextureEditorZoomMode ZoomMode |
||
| void | ZoomIn () |
||
| void | ZoomOut () |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | There are now commands for switching to individual zoom modes rather than toggling. Please use SetZoomMode() instead. |