Hello all,
I got a problem on running a game on Oculus Rift.
As show on the attachment pic01.png, I have an image on left-top of the screen on my PC screen.
However, when I switch to Oculus Rift mode, the image displays on left-bottom on my Oculus Rift screen.
Does anyone know why? and how can I fix this problem?
Thanks.
ps, the following is my C++ code:
AMX_TestHUD::AMX_TestHUD()
{
texButtonTest = NULL;
static ConstructorHelpers::FObjectFinder<UTexture2D> TexObj(TEXT("/Game/ArchVis/pic/ue4.ue4"));
texButtonTest = TexObj.Object;
}
void AMX_TestHUD::DrawHUD()
{
Super::DrawHUD();
if (texButtonTest != NULL)
{
DrawTextureSimple(texButtonTest, 100.f, 100.f, 1.0f);
}
}