Skip to content
Snippets Groups Projects
Select Git revision
  • 5d845a430205932b43e32dc0c8d54aba3266fff7
  • main default protected
  • vac_in_initial_conditions
3 results

data_management.py

Blame
  • VRWidgetInteractionComponent.h 653 B
    // Fill out your copyright notice in the Description page of Project Settings.
    
    #pragma once
    
    #include "CoreMinimal.h"
    #include "Components/WidgetInteractionComponent.h"
    #include "Components/StaticMeshComponent.h"
    
    #include "VRWidgetInteractionComponent.generated.h"
    
    /**
     * 
     */
    UCLASS()
    class WIDGETINTERACTION_API UVRWidgetInteractionComponent : public UWidgetInteractionComponent
    {
    	GENERATED_BODY()
    public:
    	UVRWidgetInteractionComponent();
    
    	void Init();
    
    	void SetVisibility(bool visible);
    
    protected:
    	void OnFire(bool val);
    
    	UPROPERTY(VisibleAnywhere) UStaticMeshComponent* InteractionRay;
    
    	DECLARE_DELEGATE_OneParam(FFireDelegate, bool);
    };