A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
DynamicHieghtFloor.h
Go to the documentation of this file.
1// Copyright(c) Pixo Group. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "GameFramework/Actor.h"
8#include "DynamicHieghtFloor.generated.h"
9
10/*
11*
12*/
13
21UCLASS()
22class PIXOCORE_API ADynamicHieghtFloor : public AActor, public IPixoVRStoryObject
23{
24 GENERATED_BODY()
25
26public:
28
29 UFUNCTION(BlueprintCallable, Category = "Dynamic Floor")
30 void SetFloorHeight(float Height);
31
32 UFUNCTION(BlueprintCallable, Category = "Dynamic Floor")
33 void AdjustCameraHeight();
34
35 UPROPERTY(EditAnywhere, BlueprintReadWrite)
36 float DesiredCameraHeight = 175.f;
37
38protected:
39 virtual void BeginPlay() override;
40
41public:
42 UPROPERTY(EditAnywhere, BlueprintReadWrite)
43 class UBoxComponent* BoxCollision;
44};
A class that automatically raises/lowers the floor level, thus changing the height of the player....
class UBoxComponent * BoxCollision
UPROPERTY(EditAnywhere, BlueprintReadWrite)
Interface for PixoVR story object functionality.