A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
VRLeverComponent.h File Reference
#include "CoreMinimal.h"
#include "GripMotionControllerComponent.h"
#include "MotionControllerComponent.h"
#include "VRGripInterface.h"
#include "GameplayTagContainer.h"
#include "GameplayTagAssetInterface.h"
#include "Interactibles/VRInteractibleFunctionLibrary.h"
#include "VRExpansionFunctionLibrary.h"
#include "PhysicsEngine/ConstraintInstance.h"
#include "Components/StaticMeshComponent.h"
#include "PhysicsPublic.h"
#include "VRLeverComponent.generated.h"
Include dependency graph for VRLeverComponent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UVRLeverComponent
 UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent), ClassGroup = (VRExpansionPlugin)) More...
 

Enumerations

enum class  EVRInteractibleLeverAxis : uint8 {
  Axis_X , Axis_Y , Axis_Z , Axis_XY ,
  FlightStick_XY
}
 UENUM(Blueprintable) More...
 
enum class  EVRInteractibleLeverEventType : uint8 { LeverPositive , LeverNegative }
 UENUM(Blueprintable) More...
 
enum class  EVRInteractibleLeverReturnType : uint8 {
  Stay , ReturnToZero , LerpToMax , LerpToMaxIfOverThreshold ,
  RetainMomentum
}
 UENUM(Blueprintable) More...
 

Functions

 DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams (FVRLeverStateChangedSignature, bool, LeverStatus, EVRInteractibleLeverEventType, LeverStatusType, float, LeverAngleAtTime, float, FullLeverAngleAtTime)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam (FVRLeverFinishedLerpingSignature, float, FinalAngle)
 

Enumeration Type Documentation

◆ EVRInteractibleLeverAxis

enum class EVRInteractibleLeverAxis : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
Axis_X 
Axis_Y 
Axis_Z 
Axis_XY 
FlightStick_XY 

Definition at line 29 of file VRLeverComponent.h.

◆ EVRInteractibleLeverEventType

enum class EVRInteractibleLeverEventType : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
LeverPositive 
LeverNegative 

Definition at line 47 of file VRLeverComponent.h.

◆ EVRInteractibleLeverReturnType

enum class EVRInteractibleLeverReturnType : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
Stay 

Stays in place on drop

ReturnToZero 

Returns to zero on drop (lerps)

LerpToMax 

Lerps to closest max (only works with X/Y/Z axis levers)

LerpToMaxIfOverThreshold 

Lerps to closest max if over the toggle threshold (only works with X/Y/Z axis levers)

RetainMomentum 

Retains momentum on release (only works with X/Y/Z axis levers)

Definition at line 57 of file VRLeverComponent.h.

Function Documentation

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams ( FVRLeverStateChangedSignature ,
bool ,
LeverStatus ,
EVRInteractibleLeverEventType ,
LeverStatusType ,
float ,
LeverAngleAtTime ,
float ,
FullLeverAngleAtTime  )

Delegate for notification when the lever state changes.

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam ( FVRLeverFinishedLerpingSignature ,
float ,
FinalAngle  )