ReadyPlayerMeRenderLoader
The AvatarRenderLoader class is used for loading a 2D render of the avatar.
ReadyPlayerMeRenderLoader is responsible for loading the rendered image from the ModelUrl
.
Public Functions
Function | Returns | Description |
---|---|---|
| void | Loads the rendered image. |
Load() Parameters
Parameter | Description |
---|---|
const FString& ModelUrl | Model url. |
const ERenderSceneType& SceneType | The type of the scene where the avatar should be rendered. |
const TMap<EAvatarMorphTarget, float>& BlendShapes | Map of the blend shapes and values for them. |
const FDownloadImageCompleted& OnCompleted | Success callback. Called when the render is loaded and provides the avatar texture as an argument. |
const FDownloadImageFailed& OnFailed | Failure callback. If the render operation fails, the failure callback will be called. |
Last updated