add virtual phone
This commit is contained in:
@@ -19,7 +19,7 @@ public static final XAPKFile[] xAPKS = {
|
||||
new XAPKFile(
|
||||
true, // true signifies a main file
|
||||
"1", // the version of the APK that the file was uploaded against
|
||||
97538444L // the length of the file in bytes
|
||||
98985607L // the length of the file in bytes
|
||||
)
|
||||
};
|
||||
};
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -85,7 +85,7 @@ bAllowClientSideNavigation=True
|
||||
+ActiveGameNameRedirects=(OldGameName="/Script/TP_VirtualRealityBP",NewGameName="/Script/MosisUnreal")
|
||||
|
||||
[/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings]
|
||||
bEnablePlugin=True
|
||||
bEnablePlugin=False
|
||||
bAllowNetworkConnection=True
|
||||
SecurityToken=40AD4D57409C43F8A8ADC6BE2AFF4735
|
||||
bIncludeInShipping=False
|
||||
|
||||
BIN
Content/Fab/Generic_Phone_-_Low_poly/Bezels.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/Bezels.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Fab/Generic_Phone_-_Low_poly/Camera.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/Camera.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Fab/Generic_Phone_-_Low_poly/CameraGlass.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/CameraGlass.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Fab/Generic_Phone_-_Low_poly/Color-sides.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/Color-sides.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Fab/Generic_Phone_-_Low_poly/Color.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/Color.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Fab/Generic_Phone_-_Low_poly/Dark.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/Dark.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Fab/Generic_Phone_-_Low_poly/Flash.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/Flash.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Fab/Generic_Phone_-_Low_poly/Plastic.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/Plastic.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Fab/Generic_Phone_-_Low_poly/Screen.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/Screen.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Fab/Generic_Phone_-_Low_poly/phone.uasset
LFS
Normal file
BIN
Content/Fab/Generic_Phone_-_Low_poly/phone.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Mosis/Input/Actions/IA_MosisClick.uasset
LFS
Normal file
BIN
Content/Mosis/Input/Actions/IA_MosisClick.uasset
LFS
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/Mosis/Phone/BP_MosisPhone.uasset
LFS
Normal file
BIN
Content/Mosis/Phone/BP_MosisPhone.uasset
LFS
Normal file
Binary file not shown.
BIN
Content/Mosis/Textures/uvgrid.uasset
LFS
Normal file
BIN
Content/Mosis/Textures/uvgrid.uasset
LFS
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -59,9 +59,11 @@ void UMosisPhoneTexture::UpdateFromHardwareBuffer(AHardwareBuffer* Buffer)
|
||||
|
||||
for (uint32 y = 0; y < Desc.height; y++)
|
||||
{
|
||||
uint32 SrcRow = y;
|
||||
uint32 DstRow = Desc.height - 1 - y; // Flip Y for Vulkan
|
||||
FMemory::Memcpy(
|
||||
TextureData.GetData() + y * Desc.width * 4,
|
||||
PixelData + y * StridePixels * 4,
|
||||
TextureData.GetData() + DstRow * Desc.width * 4,
|
||||
PixelData + SrcRow * StridePixels * 4,
|
||||
Desc.width * 4
|
||||
);
|
||||
}
|
||||
@@ -118,9 +120,11 @@ void UMosisPhoneTexture::NotifyFrameAvailable()
|
||||
|
||||
for (uint32 y = 0; y < Desc.height; y++)
|
||||
{
|
||||
uint32 SrcRow = y;
|
||||
uint32 DstRow = Desc.height - 1 - y; // Flip Y for Vulkan
|
||||
FMemory::Memcpy(
|
||||
TextureData.GetData() + y * Desc.width * 4,
|
||||
PixelData + y * StridePixels * 4,
|
||||
TextureData.GetData() + DstRow * Desc.width * 4,
|
||||
PixelData + SrcRow * StridePixels * 4,
|
||||
Desc.width * 4
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user