Navigation
API > API/Plugins > API/Plugins/CustomizableObject
Simple image provider that translates UTexture2D to Mutable IDs.
Allows the reuse of UTexture2D.
| Name | UDefaultImageProvider |
| Type | class |
| Header File | /Engine/Plugins/Mutable/Source/CustomizableObject/Public/MuCO/DefaultImageProvider.h |
| Include Path | #include "MuCO/DefaultImageProvider.h" |
Syntax
UCLASS (MinimalAPI)
class UDefaultImageProvider : public UCustomizableSystemImageProvider
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCustomizableSystemImageProvider → UDefaultImageProvider
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Textures | TMap< FName, TObjectPtr< UTexture2D > > | Always contains valid pointers. | MuCO/DefaultImageProvider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString Add
(
UTexture2D* Texture |
Add a Texture to the provider. | MuCO/DefaultImageProvider.h | |
void Remove
(
UTexture2D* Texture |
Remove a Texture from the provider. | MuCO/DefaultImageProvider.h |
Overridden from UCustomizableSystemImageProvider
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UTexture2D * GetTextureParameterValue
(
const FName& ID |
In case IsTextureParameterValueUnreal returns true, this will be used to query the texture. | MuCO/DefaultImageProvider.h | |
virtual void GetTextureParameterValues
(
TArray< FCustomizableObjectExternalTexture >& OutValues |
Used in the editor to show the list of available options. | MuCO/DefaultImageProvider.h | |
| Query that Mutable will run to find out if a texture will be provided as an Unreal UTexture2D, or as a raw data blob. | MuCO/DefaultImageProvider.h |