WVR_GetOverlayTransformType

WVR_EXPORT WVR_OverlayError WVR_GetOverlayTransformType(int32_t overlayId, WVR_OverlayTransformType * type)

Get overlay transform type.

Return
The error code of get transform.
Version
API Level 1
Parameters
  • overlayId: which overlay should be control.
  • type: would be WVR_OverlayTransformType_None, WVR_OverlayTransformType_Absolute, WVR_OverlayTransformType_Fixed

How to use

Here is an example for the function:

#include <wvr/wvr_overlay.h>
int32_t mOverlayId;

void exampleFun() {
    WVR_GenOverlay(&mOverlayId);
    WVR_OverlayTransformType type;
    WVR_GetOverlayTransformType(mOverlayId, &type);
    WVR_DelOverlay(mOverlayId);
}