Skip to content
Snippets Groups Projects
Commit fca0499f authored by David Gilbert's avatar David Gilbert :bug:
Browse files

- Capture works now

- TODO: Show loading screen on startup
- TODO: Fix scroll box thingy to not look like crap
parent 25594745
No related branches found
No related tags found
No related merge requests found
Showing
with 8 additions and 0 deletions
No preview for this file type
No preview for this file type
No preview for this file type
File deleted
File added
No preview for this file type
File added
File added
No preview for this file type
No preview for this file type
File added
No preview for this file type
No preview for this file type
......@@ -171,3 +171,7 @@ AActor * AOptiXVRPawn::GetActorNearHand(UPrimitiveComponent * Hand)
return Nearest;
}
void AOptiXVRPawn::CaptureDeferredHelper(USceneCaptureComponent2D* SceneCapture)
{
SceneCapture->CaptureSceneDeferred();
}
\ No newline at end of file
......@@ -4,6 +4,7 @@
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "Components/SceneCaptureComponent2D.h"
#include "OptiXVRPawn.generated.h"
......@@ -46,6 +47,9 @@ public:
UFUNCTION(BlueprintCallable, /*meta = (BlueprintProtected)*/ Category = "OptiXActor")
void RequestOrthoPass(const FMinimalViewInfo& ViewInfo);
UFUNCTION(BlueprintCallable, /*meta = (BlueprintProtected)*/ Category = "OptiXActor")
void CaptureDeferredHelper(USceneCaptureComponent2D* SceneCapture);
UFUNCTION(BlueprintImplementableEvent, BlueprintCallable, /*meta = (BlueprintProtected)*/ Category = "OptiXActor")
void UIEventTranslation();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment