Skip to content
Snippets Groups Projects
Select Git revision
  • de2f7cf3a9b422bb1c5e2fc0fea8a1a08132ec9b
  • main default protected
  • ravaflow3g
  • docs
  • v0.1.2
  • v0.1.1
  • v0.1.0
7 results

index.rst

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);
    };