// Copyright PICO Technology Co., Ltd. All rights reserved. // This plugin incorporates portions of the Unreal® Engine. Unreal® is a trademark or registered trademark of Epic Games, Inc. in the United States of America and elsewhere. // Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "ShowFlags.h" class FPXRGameFrame : public TSharedFromThis { public: uint32 FrameNumber; int32 ViewNumber; double predictedDisplayTimeMs; float WorldToMetersScale; FTransform TrackingToWorld; #ifdef PICO_CUSTOM_ENGINE FTransform LastTrackingToWorld; #endif FVector Position; FQuat Orientation; FVector AngularVelocity; FVector Acceleration; FVector AngularAcceleration; FVector Velocity; FEngineShowFlags ShowFlags; union { struct { uint64 bSplashIsShown : 1; uint64 bSeeThroughIsShown : 1; uint64 bLateUpdateOK : 1; uint64 bHasWaited : 1; }; uint64 Raw; } Flags; public: FPXRGameFrame(); TSharedPtr CloneMyself() const; }; typedef TSharedPtr FPXRGameFramePtr;