SRanipal Unreal SDK
1.3.2.0
SRanipal Unreal SDK document
|
The internal static class about lip relative API. More...
#include <SRanipal_Lip_v2.h>
Public Member Functions | |
int | GetLipData_v2 (ViveSR::anipal::Lip::LipData_v2 *data) |
bool | GetLipWeightings_v2 (TMap< LipShape_v2, float > &shapes) |
bool | UpdateTexture (UTexture2D *&texture) |
Static Public Member Functions | |
static SRanipal_Lip_v2 * | Instance () |
static void | DestroyLipModule () |
Public Attributes | |
int | ImageWidth |
int | ImageHeight |
int | SingleImageWidth |
The internal static class about lip relative API.
int SRanipal_Lip_v2::GetLipData_v2 | ( | ViveSR::anipal::Lip::LipData_v2 * | data | ) |
Get the LipData from Lip engine. When use this API, you should assign an uint8 image buffer(size = 800*400) to data.image.
bool SRanipal_Lip_v2::GetLipWeightings_v2 | ( | TMap< LipShape_v2, float > & | shapes | ) |
Get a dictionary that stores individual weighting with respect to LipShape
shapes | A dictionary that stores individual weighting with respect to LipShape. |
bool SRanipal_Lip_v2::UpdateTexture | ( | UTexture2D *& | texture | ) |
Update given texture2D with lip image.
texture | A texture2D sholud be defined as UTexture2D::CreateTransient(ImageWidth, ImageHeight, PF_A8) |