This plugin loads textures from local or network
Support JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC formats
目录(Contents)
Load Texture From Local
![[UE Unreal Engine] DT Load Texture runtime loading texture image plugin description [UE Unreal Engine] DT Load Texture runtime loading texture image plugin description](https://dt.cq.cn/wp-content/uploads/2024/07/image.png)
Load the image from the local computer
Input:
File Path: Full path address of the image
Output:
Return Value: Texture object (UTexture2D), if the object is invalid, it means the loading failed.
Load Texture From Network
![[UE Unreal Engine] DT Load Texture runtime loading texture image plugin description [UE Unreal Engine] DT Load Texture runtime loading texture image plugin description](https://dt.cq.cn/wp-content/uploads/2024/07/image-1.png)
Load images from the Internet
Input:
URL: Image website path address
On Http Texture: Bind a custom event, which will be called back when the network image is loaded.
Custom event parameter description:
URL: Accessed image path address
Texture: Texture object. If the object is invalid, it means that the loading failed.
Note: If the packaging prompt fails, please put the plug-in in the project directory “YourProject\Plugins” and delete the BP_LoadImage.uasset and UI_LoadImage.uasset files in the plug-in Content directory.
Plugin Download
Runtime Load Texture in Code Plugins – UE Marketplace (unrealengine.com)