A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
InteractionValve.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 "Components/TextRenderComponent.h"
9#include "InteractionValve.generated.h"
10
12
16UCLASS()
17class PIXOCORE_API AInteractionValve : public AGrippableActor
18{
19 GENERATED_BODY()
20
21public:
22 AInteractionValve(const FObjectInitializer& ObjectInitializer);
23
24 virtual void Tick(float DeltaTime) override;
25
26 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Components)
27 UVRDialComponent* Valve;
28
29 UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = Components)
30 UTextRenderComponent* TextRenderComp;
31
32 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = Valve)
33 float ActivateAngle;
34
35 UPROPERTY(BlueprintAssignable)
36 FOnValveActivated OnValveActivated;
37};
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnValveActivated)
UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent), ClassGroup = (VRExpansionPlugin))
Actor representing an interaction valve.
UVRDialComponent * Valve
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Components)
FOnValveActivated OnValveActivated
UPROPERTY(BlueprintAssignable)
float ActivateAngle
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = Valve)
UTextRenderComponent * TextRenderComp
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = Components)
UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent), ClassGroup = (VRExpansionPlugin))