|
|
A Demo Project for the UnrealEngineSDK
|
#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"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) | |
|
strongBlueprintable |
UENUM(Blueprintable)
| Enumerator | |
|---|---|
| Axis_X | |
| Axis_Y | |
| Axis_Z | |
| Axis_XY | |
| FlightStick_XY | |
Definition at line 29 of file VRLeverComponent.h.
|
strongBlueprintable |
UENUM(Blueprintable)
| Enumerator | |
|---|---|
| LeverPositive | |
| LeverNegative | |
Definition at line 47 of file VRLeverComponent.h.
|
strongBlueprintable |
UENUM(Blueprintable)
Definition at line 57 of file VRLeverComponent.h.
| 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 | ( | FVRLeverFinishedLerpingSignature | , |
| float | , | ||
| FinalAngle | ) |