ITextureEditorToolkit

Interface for texture editor tool kits.

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Public function Const

double

 

CalculateDisplayedZoomLevel()

Public function Const

void

 

CalculateTextureDimensions

(
    uint32& Width,
    uint32& Height
)

Calculates the display size of the texture

Public function Const

ESimpleEleme...

 

GetColourChannelBlendMode()

Public function Const

double

 

GetCustomZoomLevel()

Public function Const

int32

 

GetLayer()

Public function Const

int32

 

GetMipLevel()

Accessors

Public function Const

UTexture ...

 

GetTexture()

Returns the Texture asset being inspected by the Texture editor

Public function Const

bool

 

GetUseSpecifiedMip()

Public function Const

float

 

GetVolumeOpacity()

Public function Const

const FRotat...

 

GetVolumeOrientation()

Public function Const

ETextureEdit...

 

GetZoomMode()

Public function Const

bool

 

HasValidTextureResource()

Returns if the Texture asset being inspected has a valid texture resource

Public function Const

bool

 

IsCurrentZoomMode

(
    ETextureEditorZoomMode ZoomMode
)

Returns true if this is the current zoom mode. Useful for Slate bindings.

Public function

void

 

PopulateQuickInfo()

Refreshes the quick info panel

Public function

void

 

SetCustomZoomLevel

(
    double ZoomValue
)

Public function

void

 

SetVolumeOpacity

(
    float VolumeOpacity
)

Public function

void

 

SetVolumeOrientation

(
    const FRotator& InOrientation
)

Public function

void

 

SetZoomMode

(
    const ETextureEditorZoomMode ZoomMo...
)

Public function

void

 

ZoomIn()

Public function

void

 

ZoomOut()

Deprecated Functions

Name Description

Public function Virtual Const

bool

 

GetFitToViewport()

There are now more than 2 zoom modes, use GetZoomMode() instead.

Public function Virtual Const

double

 

GetZoom()

GetZoom Has been renamed to GetCustomZoomLevel to clarify it refers to the custom zoom mode's value.

Public function Virtual

void

 

SetFitToViewport

(
    const bool bFitToViewport
)

There are now more than 2 zoom modes, use SetZoomMode() instead.

Public function Virtual

void

 

SetZoom

(
    double ZoomValue
)

SetZoom has been renamed to SetCustomZoomLevel to clarify it refers to the custom zoom mode's value.

Public function

void

 

ToggleFitToViewport()

There are now commands for switching to individual zoom modes rather than toggling. Please use SetZoomMode() instead.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss