A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
UVRGlobalSettings Class Referencedefaultconfig

UCLASS(config = Engine, defaultconfig) More...

#include <VRGlobalSettings.h>

Inheritance diagram for UVRGlobalSettings:
[legend]

Public Member Functions

 UVRGlobalSettings (const FObjectInitializer &ObjectInitializer)
 
 DECLARE_MULTICAST_DELEGATE (FVRControllerProfileChangedEvent)
 
virtual void PostInitProperties () override
 

Static Public Member Functions

static void AddControllerProfile (UPARAM(ref) FBPVRControllerProfile &NewProfile, bool bSaveOutToConfig=true)
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles|Operations")
 
static FTransform AdjustTransformByControllerProfile (FName OptionalControllerProfileName, const FTransform &SocketTransform, bool bIsRightHand=false)
 UFUNCTION(BlueprintPure, Category = "VRControllerProfiles")
 
static FTransform AdjustTransformByGivenControllerProfile (UPARAM(ref) FBPVRControllerProfile &ControllerProfile, const FTransform &SocketTransform, bool bIsRightHand=false)
 UFUNCTION(BlueprintPure, Category = "VRControllerProfiles")
 
static void DeleteControllerProfile (FName ControllerProfileName, bool bSaveOutToConfig=true)
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles|Operations")
 
static bool GetControllerProfile (FName ControllerProfileName, FBPVRControllerProfile &OutProfile)
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")
 
static TArray< FBPVRControllerProfileGetControllerProfiles ()
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")
 
static FBPVRControllerProfile GetCurrentProfile (bool &bHadLoadedProfile)
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")
 
static FName GetCurrentProfileName (bool &bHadLoadedProfile)
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")
 
static TSubclassOf< class UGrippableSkeletalMeshComponentGetDefaultGrippableCharacterMeshComponentClass ()
 
static void GetMeleeSurfaceGlobalSettings (TArray< FBPHitSurfaceProperties > &OutMeleeSurfaceSettings)
 UFUNCTION(BlueprintCallable, Category = "MeleeSettings")
 
static void GetVirtualStockGlobalSettings (FBPVirtualStockSettings &OutVirtualStockSettings)
 UFUNCTION(BlueprintCallable, Category = "GunSettings|VirtualStock")
 
static bool IsGlobalLerpEnabled ()
 UFUNCTION(BlueprintPure, Category = "GlobalLerpToHand")
 
static bool LoadControllerProfile (const FBPVRControllerProfile &ControllerProfile, bool bSetAsCurrentProfile=true)
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")
 
static bool LoadControllerProfileByName (FName ControllerProfileName, bool bSetAsCurrentProfile=true)
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")
 
static void OverwriteControllerProfile (UPARAM(ref) FBPVRControllerProfile &OverwritingProfile, bool bSaveOutToConfig=true)
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles|Operations")
 
static void SaveControllerProfiles ()
 UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles|Operations")
 
static void SaveVirtualStockGlobalSettings (FBPVirtualStockSettings NewVirtualStockSettings)
 UFUNCTION(BlueprintCallable, Category = "GunSettings|VirtualStock")
 

Public Attributes

float AngularDriveDampingScale
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "ChaosPhysics")
 
float AngularDriveStiffnessScale
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "ChaosPhysics")
 
bool bHybridWithSweepUseDistanceBasedLerp
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "HybridWithSweepLerp")
 
bool bLerpHybridWithSweepGrips
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "HybridWithSweepLerp")
 
bool bOnlyLerpHybridRotation
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "HybridWithSweepLerp")
 
bool bSkipLerpToHandIfHeld
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")
 
bool bUseCurve
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand|Curve")
 
bool bUseGlobalLerpToHand
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")
 
bool bUseSeperateHandTransforms
 
TArray< FBPVRControllerProfileControllerProfiles
 UPROPERTY(config, EditAnywhere, Category = "ControllerProfiles")
 
FName CurrentControllerProfileInUse
 
FTransform CurrentControllerProfileTransform
 
FTransform CurrentControllerProfileTransformRight
 
TSubclassOf< class UGrippableSkeletalMeshComponentDefaultGrippableCharacterMeshComponentClass
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "Misc")
 
float HybridWithSweepLerpDuration
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "HybridWithSweepLerp")
 
float LerpDuration
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")
 
EVRLerpInterpolationMode LerpInterpolationMode
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")
 
float LinearDriveDampingScale
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "ChaosPhysics")
 
float LinearDriveStiffnessScale
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "ChaosPhysics")
 
int MaxCCDPasses
 UPROPERTY(config, EditAnywhere, Category = "Physics")
 
float MaxSpeedForLerp
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")
 
TArray< FBPHitSurfacePropertiesMeleeSurfaceSettings
 UPROPERTY(config, EditAnywhere, Category = "MeleeSettings")
 
float MinDistanceForLerp
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")
 
float MinSpeedForLerp
 UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")
 
FVRControllerProfileChangedEvent OnControllerProfileChangedEvent
 
float OneEuroCutoffSlope
 UPROPERTY(config, EditAnywhere, Category = "GunSettings|Secondary Grip 1Euro Settings")
 
float OneEuroDeltaCutoff
 UPROPERTY(config, EditAnywhere, Category = "GunSettings|Secondary Grip 1Euro Settings")
 
float OneEuroMinCutoff
 UPROPERTY(config, EditAnywhere, Category = "GunSettings|Secondary Grip 1Euro Settings")
 
FRuntimeFloatCurve OptionalCurveToFollow
 UPROPERTY(config, Category = "GlobalLerpToHand|Curve", EditAnywhere, meta = (editcondition = "bUseCurve"))
 
FBPVirtualStockSettings VirtualStockSettings
 UPROPERTY(config, EditAnywhere, Category = "GunSettings")
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS(config = Engine, defaultconfig)

Definition at line 152 of file VRGlobalSettings.h.

Constructor & Destructor Documentation

◆ UVRGlobalSettings()

UVRGlobalSettings::UVRGlobalSettings ( const FObjectInitializer & ObjectInitializer)

Definition at line 9 of file VRGlobalSettings.cpp.

Member Function Documentation

◆ AddControllerProfile()

void UVRGlobalSettings::AddControllerProfile ( UPARAM(ref) FBPVRControllerProfile & NewProfile,
bool bSaveOutToConfig = true )
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles|Operations")

Definition at line 128 of file VRGlobalSettings.cpp.

Here is the call graph for this function:

◆ AdjustTransformByControllerProfile()

FTransform UVRGlobalSettings::AdjustTransformByControllerProfile ( FName OptionalControllerProfileName,
const FTransform & SocketTransform,
bool bIsRightHand = false )
staticBlueprintPure

UFUNCTION(BlueprintPure, Category = "VRControllerProfiles")

Definition at line 64 of file VRGlobalSettings.cpp.

◆ AdjustTransformByGivenControllerProfile()

FTransform UVRGlobalSettings::AdjustTransformByGivenControllerProfile ( UPARAM(ref) FBPVRControllerProfile & ControllerProfile,
const FTransform & SocketTransform,
bool bIsRightHand = false )
staticBlueprintPure

UFUNCTION(BlueprintPure, Category = "VRControllerProfiles")

Definition at line 96 of file VRGlobalSettings.cpp.

◆ DECLARE_MULTICAST_DELEGATE()

UVRGlobalSettings::DECLARE_MULTICAST_DELEGATE ( FVRControllerProfileChangedEvent )

◆ DeleteControllerProfile()

void UVRGlobalSettings::DeleteControllerProfile ( FName ControllerProfileName,
bool bSaveOutToConfig = true )
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles|Operations")

Definition at line 138 of file VRGlobalSettings.cpp.

Here is the call graph for this function:

◆ GENERATED_BODY()

UVRGlobalSettings::GENERATED_BODY ( )
private

◆ GetControllerProfile()

bool UVRGlobalSettings::GetControllerProfile ( FName ControllerProfileName,
FBPVRControllerProfile & OutProfile )
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")

Definition at line 191 of file VRGlobalSettings.cpp.

◆ GetControllerProfiles()

TArray< FBPVRControllerProfile > UVRGlobalSettings::GetControllerProfiles ( )
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")

Definition at line 105 of file VRGlobalSettings.cpp.

◆ GetCurrentProfile()

FBPVRControllerProfile UVRGlobalSettings::GetCurrentProfile ( bool & bHadLoadedProfile)
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")

Definition at line 171 of file VRGlobalSettings.cpp.

◆ GetCurrentProfileName()

FName UVRGlobalSettings::GetCurrentProfileName ( bool & bHadLoadedProfile)
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")

Definition at line 163 of file VRGlobalSettings.cpp.

◆ GetDefaultGrippableCharacterMeshComponentClass()

TSubclassOf< class UGrippableSkeletalMeshComponent > UVRGlobalSettings::GetDefaultGrippableCharacterMeshComponentClass ( )
static

Definition at line 41 of file VRGlobalSettings.cpp.

◆ GetMeleeSurfaceGlobalSettings()

void UVRGlobalSettings::GetMeleeSurfaceGlobalSettings ( TArray< FBPHitSurfaceProperties > & OutMeleeSurfaceSettings)
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "MeleeSettings")

Definition at line 345 of file VRGlobalSettings.cpp.

Here is the caller graph for this function:

◆ GetVirtualStockGlobalSettings()

void UVRGlobalSettings::GetVirtualStockGlobalSettings ( FBPVirtualStockSettings & OutVirtualStockSettings)
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "GunSettings|VirtualStock")

Definition at line 351 of file VRGlobalSettings.cpp.

Here is the caller graph for this function:

◆ IsGlobalLerpEnabled()

bool UVRGlobalSettings::IsGlobalLerpEnabled ( )
staticBlueprintPure

UFUNCTION(BlueprintPure, Category = "GlobalLerpToHand")

Definition at line 58 of file VRGlobalSettings.cpp.

◆ LoadControllerProfile()

bool UVRGlobalSettings::LoadControllerProfile ( const FBPVRControllerProfile & ControllerProfile,
bool bSetAsCurrentProfile = true )
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")

Definition at line 228 of file VRGlobalSettings.cpp.

Here is the caller graph for this function:

◆ LoadControllerProfileByName()

bool UVRGlobalSettings::LoadControllerProfileByName ( FName ControllerProfileName,
bool bSetAsCurrentProfile = true )
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles")

Definition at line 209 of file VRGlobalSettings.cpp.

Here is the call graph for this function:

◆ OverwriteControllerProfile()

void UVRGlobalSettings::OverwriteControllerProfile ( UPARAM(ref) FBPVRControllerProfile & OverwritingProfile,
bool bSaveOutToConfig = true )
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles|Operations")

Definition at line 112 of file VRGlobalSettings.cpp.

Here is the call graph for this function:

◆ PostInitProperties()

void UVRGlobalSettings::PostInitProperties ( )
overridevirtual

Definition at line 330 of file VRGlobalSettings.cpp.

◆ SaveControllerProfiles()

void UVRGlobalSettings::SaveControllerProfiles ( )
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRControllerProfiles|Operations")

Definition at line 154 of file VRGlobalSettings.cpp.

Here is the caller graph for this function:

◆ SaveVirtualStockGlobalSettings()

void UVRGlobalSettings::SaveVirtualStockGlobalSettings ( FBPVirtualStockSettings NewVirtualStockSettings)
staticBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "GunSettings|VirtualStock")

Definition at line 362 of file VRGlobalSettings.cpp.

Member Data Documentation

◆ AngularDriveDampingScale

float UVRGlobalSettings::AngularDriveDampingScale
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "ChaosPhysics")

Definition at line 206 of file VRGlobalSettings.h.

◆ AngularDriveStiffnessScale

float UVRGlobalSettings::AngularDriveStiffnessScale
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "ChaosPhysics")

Definition at line 197 of file VRGlobalSettings.h.

◆ bHybridWithSweepUseDistanceBasedLerp

bool UVRGlobalSettings::bHybridWithSweepUseDistanceBasedLerp
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "HybridWithSweepLerp")

Definition at line 234 of file VRGlobalSettings.h.

◆ bLerpHybridWithSweepGrips

bool UVRGlobalSettings::bLerpHybridWithSweepGrips
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "HybridWithSweepLerp")

Definition at line 215 of file VRGlobalSettings.h.

◆ bOnlyLerpHybridRotation

bool UVRGlobalSettings::bOnlyLerpHybridRotation
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "HybridWithSweepLerp")

Definition at line 224 of file VRGlobalSettings.h.

◆ bSkipLerpToHandIfHeld

bool UVRGlobalSettings::bSkipLerpToHandIfHeld
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")

Definition at line 259 of file VRGlobalSettings.h.

◆ bUseCurve

bool UVRGlobalSettings::bUseCurve
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand|Curve")

Definition at line 314 of file VRGlobalSettings.h.

◆ bUseGlobalLerpToHand

bool UVRGlobalSettings::bUseGlobalLerpToHand
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")

Definition at line 251 of file VRGlobalSettings.h.

◆ bUseSeperateHandTransforms

bool UVRGlobalSettings::bUseSeperateHandTransforms

Definition at line 417 of file VRGlobalSettings.h.

◆ ControllerProfiles

TArray<FBPVRControllerProfile> UVRGlobalSettings::ControllerProfiles
EditAnywhereconfig

UPROPERTY(config, EditAnywhere, Category = "ControllerProfiles")

Definition at line 412 of file VRGlobalSettings.h.

◆ CurrentControllerProfileInUse

FName UVRGlobalSettings::CurrentControllerProfileInUse

Definition at line 415 of file VRGlobalSettings.h.

◆ CurrentControllerProfileTransform

FTransform UVRGlobalSettings::CurrentControllerProfileTransform

Definition at line 416 of file VRGlobalSettings.h.

◆ CurrentControllerProfileTransformRight

FTransform UVRGlobalSettings::CurrentControllerProfileTransformRight

Definition at line 418 of file VRGlobalSettings.h.

◆ DefaultGrippableCharacterMeshComponentClass

TSubclassOf<class UGrippableSkeletalMeshComponent> UVRGlobalSettings::DefaultGrippableCharacterMeshComponentClass
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "Misc")

Definition at line 167 of file VRGlobalSettings.h.

◆ HybridWithSweepLerpDuration

float UVRGlobalSettings::HybridWithSweepLerpDuration
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "HybridWithSweepLerp")

Definition at line 243 of file VRGlobalSettings.h.

◆ LerpDuration

float UVRGlobalSettings::LerpDuration
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")

Definition at line 277 of file VRGlobalSettings.h.

◆ LerpInterpolationMode

EVRLerpInterpolationMode UVRGlobalSettings::LerpInterpolationMode
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")

Definition at line 305 of file VRGlobalSettings.h.

◆ LinearDriveDampingScale

float UVRGlobalSettings::LinearDriveDampingScale
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "ChaosPhysics")

Definition at line 188 of file VRGlobalSettings.h.

◆ LinearDriveStiffnessScale

float UVRGlobalSettings::LinearDriveStiffnessScale
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "ChaosPhysics")

Definition at line 179 of file VRGlobalSettings.h.

◆ MaxCCDPasses

int UVRGlobalSettings::MaxCCDPasses
EditAnywhereconfig

UPROPERTY(config, EditAnywhere, Category = "Physics")

Definition at line 338 of file VRGlobalSettings.h.

◆ MaxSpeedForLerp

float UVRGlobalSettings::MaxSpeedForLerp
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")

Definition at line 297 of file VRGlobalSettings.h.

◆ MeleeSurfaceSettings

TArray<FBPHitSurfaceProperties> UVRGlobalSettings::MeleeSurfaceSettings
EditAnywhereconfig

UPROPERTY(config, EditAnywhere, Category = "MeleeSettings")

Definition at line 346 of file VRGlobalSettings.h.

◆ MinDistanceForLerp

float UVRGlobalSettings::MinDistanceForLerp
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")

Definition at line 268 of file VRGlobalSettings.h.

◆ MinSpeedForLerp

float UVRGlobalSettings::MinSpeedForLerp
EditAnywhereBlueprintReadWriteconfig

UPROPERTY(config, BlueprintReadWrite, EditAnywhere, Category = "GlobalLerpToHand")

Definition at line 287 of file VRGlobalSettings.h.

◆ OnControllerProfileChangedEvent

FVRControllerProfileChangedEvent UVRGlobalSettings::OnControllerProfileChangedEvent

Delegate for notification when the controller profile changes.

Definition at line 404 of file VRGlobalSettings.h.

◆ OneEuroCutoffSlope

float UVRGlobalSettings::OneEuroCutoffSlope
EditAnywhereconfig

UPROPERTY(config, EditAnywhere, Category = "GunSettings|Secondary Grip 1Euro Settings")

Definition at line 370 of file VRGlobalSettings.h.

◆ OneEuroDeltaCutoff

float UVRGlobalSettings::OneEuroDeltaCutoff
EditAnywhereconfig

UPROPERTY(config, EditAnywhere, Category = "GunSettings|Secondary Grip 1Euro Settings")

Definition at line 378 of file VRGlobalSettings.h.

◆ OneEuroMinCutoff

float UVRGlobalSettings::OneEuroMinCutoff
EditAnywhereconfig

UPROPERTY(config, EditAnywhere, Category = "GunSettings|Secondary Grip 1Euro Settings")

Definition at line 362 of file VRGlobalSettings.h.

◆ OptionalCurveToFollow

FRuntimeFloatCurve UVRGlobalSettings::OptionalCurveToFollow
EditAnywhereconfig

UPROPERTY(config, Category = "GlobalLerpToHand|Curve", EditAnywhere, meta = (editcondition = "bUseCurve"))

Definition at line 322 of file VRGlobalSettings.h.

◆ VirtualStockSettings

FBPVirtualStockSettings UVRGlobalSettings::VirtualStockSettings
EditAnywhereconfig

UPROPERTY(config, EditAnywhere, Category = "GunSettings")

Definition at line 354 of file VRGlobalSettings.h.


The documentation for this class was generated from the following files: