Files
UnrealEngineUWP/Engine/Source/Programs/TextureShare/TextureShareSDK/Public/TextureShareContainers.h
Marc Audy a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00

67 lines
1.2 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#ifndef TEXTURE_SHARE_SDK_DLL
// Unsigned base types.
typedef unsigned char uint8; // 8-bit unsigned.
typedef unsigned int uint32; // 32-bit unsigned.
#endif
#include "TextureShareCoreGenericContainers.h"
struct FTextureShareSDKVector
{
public:
/** Vector's X component. */
float X;
/** Vector's Y component. */
float Y;
/** Vector's Z component. */
float Z;
};
struct FTextureShareSDKRotator
{
public:
/** Rotation around the right axis (around Y axis), Looking up and down (0=Straight Ahead, +Up, -Down) */
float Pitch;
/** Rotation around the up axis (around Z axis), Running in circles 0=East, +North, -South. */
float Yaw;
/** Rotation around the forward axis (around X axis), Tilting your head, 0=Straight, +Clockwise, -CCW. */
float Roll;
};
struct FTextureShareSDKMatrix
{
public:
union
{
float M[4][4];
};
};
struct FTextureShareSDKAdditionalData
{
// Frame info
uint32 FrameNumber;
// Projection matrix
FTextureShareSDKMatrix PrjMatrix;
// View info
FTextureShareSDKMatrix ViewMatrix;
FTextureShareSDKVector ViewLocation;
FTextureShareSDKRotator ViewRotation;
FTextureShareSDKVector ViewScale;
//@todo: add more frame data
};