Navigation
API > API/Plugins > API/Plugins/MetaHumanSDKEditor
Request to autorig service Usage
- Bind to the required Delegates (in this class and in FMetaHumanServiceRequestBase as needed)
- Create an instance of a request using CreateRequest
- Run the request
The request will return a raw DNA file (in memory)
| Name | FAutoRigServiceRequest |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanSDK/Source/MetaHumanSDKEditor/Public/Cloud/MetaHumanARServiceRequest.h |
| Include Path | #include "Cloud/MetaHumanARServiceRequest.h" |
Syntax
class FAutoRigServiceRequest : public UE::MetaHuman::FMetaHumanServiceRequestBase
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FMetaHumanServiceRequestBase → FAutoRigServiceRequest
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAutoRigServiceRequest() |
Cloud/MetaHumanARServiceRequest.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAutorigRequestCompleteDelegate | TBaseDelegate_OneParam< void, const FAutorigResponse &Response > | Cloud/MetaHumanARServiceRequest.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutorigRequestCompleteDelegate | FAutorigRequestCompleteDelegate | Cloud/MetaHumanARServiceRequest.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SolveParameters | FTargetSolveParameters | Cloud/MetaHumanARServiceRequest.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RequestSolveAsync() |
Execute the solve request asynchronously | Cloud/MetaHumanARServiceRequest.h |
Protected
Overridden from FMetaHumanServiceRequestBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool DoBuildRequest
(
TSharedRef< IHttpRequest > Request, |
Build a request packet for a particular MH service Note that this can be called multiple times during an ExecuteRequest (for the same request), if for example the user first has to accept a EULA. | Cloud/MetaHumanARServiceRequest.h | |
virtual void OnRequestCompleted
(
const TArray< uint8 >& Response, |
Invoked when the request is complete and a response payload is available the subclass is expected to package this into a adapter and forward to a service specific user delegate | Cloud/MetaHumanARServiceRequest.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FAutoRigServiceRequest > CreateRequest
(
const FTargetSolveParameters& InSolveParams |
Create a new autorig service request for a mesh | Cloud/MetaHumanARServiceRequest.h |