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