A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
VRBPDatatypes.h File Reference
#include "CoreMinimal.h"
#include "Components/PrimitiveComponent.h"
#include "PhysicsPublic.h"
#include "PhysicsEngine/ConstraintDrives.h"
#include "VRBPDatatypes.generated.h"
Include dependency graph for VRBPDatatypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FBasicLowPassFilter< filterType >
 
struct  FBPActorGripInformation
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPActorPhysicsHandleInformation
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPAdvancedPhysicsHandleAxisSettings
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPAdvancedPhysicsHandleSettings
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPAdvGripPhysicsSettings
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPAdvGripSettings
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPEuroLowPassFilter
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPEuroLowPassFilterQuat
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPEuroLowPassFilterTrans
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPGripPair
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPInterfaceProperties
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPLowPassPeakFilter
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPSecondaryGripInfo
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPVRComponentPosRep
 USTRUCT() More...
 
struct  FBPVRWaistTracking_Info
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary") More...
 
struct  FBPActorGripInformation::FGripValueCache
 
struct  FTransform_NetQuantize
 USTRUCT(BlueprintType, Category = "VRExpansionLibrary|TransformNetQuantize", meta = (HasNativeMake = "VRExpansionPlugin.VRExpansionFunctionLibrary.MakeTransform_NetQuantize", HasNativeBreak = "VRExpansionPlugin.VRExpansionFunctionLibrary.BreakTransform_NetQuantize")) More...
 
struct  TStructOpsTypeTraits< FBPAdvGripPhysicsSettings >
 
struct  TStructOpsTypeTraits< FBPSecondaryGripInfo >
 
struct  TStructOpsTypeTraits< FBPVRComponentPosRep >
 
struct  TStructOpsTypeTraits< FTransform_NetQuantize >
 

Namespaces

namespace  TransNetQuant
 

Macros

#define INVALID_VRGRIP_ID   0
 

Enumerations

enum class  EBPHMDDeviceType : uint8 {
  DT_OculusHMD , DT_PSVR , DT_ES2GenericStereoMesh , DT_SteamVR ,
  DT_GearVR , DT_GoogleVR , DT_AppleARKit , DT_GoogleARCore ,
  DT_Unknown
}
 UENUM(Blueprintable) More...
 
enum class  EBPVRResultSwitch : uint8 { OnSucceeded , OnFailed }
 UENUM() More...
 
enum class  EBPVRWaistTrackingMode : uint8 { VRWaist_Tracked_Front , VRWaist_Tracked_Rear , VRWaist_Tracked_Left , VRWaist_Tracked_Right }
 UENUM(Blueprintable) More...
 
enum class  EGripCollisionType : uint8 {
  InteractiveCollisionWithPhysics , InteractiveCollisionWithSweep , InteractiveHybridCollisionWithPhysics , InteractiveHybridCollisionWithSweep ,
  SweepWithPhysics , PhysicsOnly , ManipulationGrip , ManipulationGripWithWristTwist ,
  AttachmentGrip , CustomGrip , EventsOnly , LockedConstraint
}
 UENUM(Blueprintable) More...
 
enum class  EGripInterfaceTeleportBehavior : uint8 {
  TeleportAllComponents , DeltaTeleportation , OnlyTeleportRootComponent , DropOnTeleport ,
  DontTeleport
}
 UENUM(Blueprintable) More...
 
enum class  EGripLateUpdateSettings : uint8 {
  LateUpdatesAlwaysOn , LateUpdatesAlwaysOff , NotWhenColliding , NotWhenDoubleGripping ,
  NotWhenCollidingOrDoubleGripping
}
 UENUM(Blueprintable) More...
 
enum class  EGripLerpState : uint8 { StartLerp , EndLerp , NotLerping }
 UENUM(Blueprintable) More...
 
enum class  EGripMovementReplicationSettings : uint8 {
  KeepOriginalMovement , ForceServerSideMovement , ForceClientSideMovement , ClientSide_Authoritive ,
  ClientSide_Authoritive_NoRep
}
 UENUM(Blueprintable) More...
 
enum class  EGripTargetType : uint8 { ActorGrip , ComponentGrip }
 UENUM(Blueprintable) More...
 
enum class  EPhysicsGripCOMType : uint8 {
  COM_Default = 0 , COM_AtPivot = 1 , COM_SetAndGripAt = 2 , COM_GripAt = 3 ,
  COM_GripAtControllerLoc = 4
}
 UENUM(Blueprintable) More...
 
enum class  EPhysicsGripConstraintType : uint8 { AccelerationConstraint = 0 , ForceConstraint = 1 }
 UENUM(Blueprintable) More...
 
enum class  ESecondaryGripType : uint8 {
  SG_None , SG_Free , SG_SlotOnly , SG_Free_Retain ,
  SG_SlotOnly_Retain , SG_FreeWithScaling_Retain , SG_SlotOnlyWithScaling_Retain , SG_Custom ,
  SG_ScalingOnly
}
 UENUM(Blueprintable) More...
 
enum class  EVRClientAuthConflictResolutionMode : uint8 { VRGRIP_CONFLICT_None , VRGRIP_CONFLICT_First , VRGRIP_CONFLICT_Last , VRGRIP_CONFLICT_DropAll }
 UENUM(BlueprintType) More...
 
enum class  EVRConjoinedMovementModes : uint8 {
  C_MOVE_None = 0x00 , C_MOVE_Walking = 0x01 , C_MOVE_NavWalking = 0x02 , C_MOVE_Falling = 0x03 ,
  C_MOVE_Swimming = 0x04 , C_MOVE_Flying = 0x05 , C_MOVE_MAX = 0x07 , C_VRMOVE_Climbing = 0x08 ,
  C_VRMOVE_LowGrav = 0x09 , C_VRMOVE_Seated = 0x0A , C_VRMOVE_SplineFollow = 0x0B , C_VRMOVE_Custom1 = 0x1A ,
  C_VRMOVE_Custom2 = 0x1B , C_VRMOVE_Custom3 = 0x1C , C_VRMOVE_Custom4 = 0x1D , C_VRMOVE_Custom5 = 0x1E ,
  C_VRMOVE_Custom6 = 0x1F , C_VRMOVE_Custom7 = 0x20 , C_VRMOVE_Custom8 = 0x21 , C_VRMOVE_Custom9 = 0x22 ,
  C_VRMOVE_Custom10 = 0x23
}
 UENUM(BlueprintType) More...
 
enum class  EVRCustomMovementMode : uint8 { VRMOVE_Climbing , VRMOVE_LowGrav , VRMOVE_Seated , VRMOVE_SplineFollow }
 UENUM(BlueprintType) More...
 
enum class  EVRLerpInterpolationMode : uint8 { QuatInterp , EulerInterp , DualQuatInterp }
 UENUM(BlueprintType) More...
 
enum class  EVRRotationQuantization : uint8 { RoundTo10Bits = 0 , RoundToShort = 1 }
 UENUM() More...
 
enum class  EVRVectorQuantization : uint8 { RoundOneDecimal = 0 , RoundTwoDecimals = 1 }
 UENUM() More...
 
enum class  EVRVelocityType : uint8 { VRLOCITY_Default , VRLOCITY_RunningAverage , VRLOCITY_SamplePeak }
 UENUM(BlueprintType) More...
 

Variables

static const float TransNetQuant::MaximumQ = +1.0f / 1.414214f
 
static const float TransNetQuant::MinimumQ = -1.0f / 1.414214f
 
static const float TransNetQuant::MinMaxQDiff = TransNetQuant::MaximumQ - TransNetQuant::MinimumQ
 

Macro Definition Documentation

◆ INVALID_VRGRIP_ID

#define INVALID_VRGRIP_ID   0

Definition at line 1615 of file VRBPDatatypes.h.

Enumeration Type Documentation

◆ EBPHMDDeviceType

enum class EBPHMDDeviceType : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
DT_OculusHMD 
DT_PSVR 
DT_ES2GenericStereoMesh 
DT_SteamVR 
DT_GearVR 
DT_GoogleVR 
DT_AppleARKit 
DT_GoogleARCore 
DT_Unknown 

Definition at line 1074 of file VRBPDatatypes.h.

◆ EBPVRResultSwitch

enum class EBPVRResultSwitch : uint8
strong

UENUM()

Enumerator
OnSucceeded 
OnFailed 

Definition at line 85 of file VRBPDatatypes.h.

◆ EBPVRWaistTrackingMode

enum class EBPVRWaistTrackingMode : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
VRWaist_Tracked_Front 
VRWaist_Tracked_Rear 
VRWaist_Tracked_Left 
VRWaist_Tracked_Right 

Definition at line 116 of file VRBPDatatypes.h.

◆ EGripCollisionType

enum class EGripCollisionType : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
InteractiveCollisionWithPhysics 

Held items can be offset by geometry, uses physics for the offset, pushes physics simulating objects with weight taken into account.

InteractiveCollisionWithSweep 

Held items can be offset by geometry, uses sweep for the offset, pushes physics simulating objects, no weight.

InteractiveHybridCollisionWithPhysics 

Uses Stiffness and damping settings on collision, on no collision uses stiffness values 10x stronger so it has less play.

InteractiveHybridCollisionWithSweep 

Swaps back and forth between physx grip and a sweep type grip depending on if the held object will be colliding this frame or not.

SweepWithPhysics 

Only sweeps movement, will not be offset by geomtry, still pushes physics simulating objects, no weight.

PhysicsOnly 

Does not sweep at all (does not trigger OnHitEvents), still pushes physics simulating objects, no weight.

ManipulationGrip 

Free constraint to controller base, no rotational drives.

ManipulationGripWithWristTwist 

Free constraint to controller base with a twist drive.

AttachmentGrip 

Attachment grips use native attachment and only sets location / rotation if they differ, this grip always late updates

CustomGrip 

Custom grip is to be handled by the object itself, it just sends the TickGrip event every frame but doesn't move the object.

EventsOnly 

A grip that does not tick or move, used for drop / grip events only and uses least amount of processing.

LockedConstraint 

Uses a hard constraint with no softness to lock them together, best used with ConstrainToPivot enabled and a bone chain.

Definition at line 1027 of file VRBPDatatypes.h.

◆ EGripInterfaceTeleportBehavior

enum class EGripInterfaceTeleportBehavior : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
TeleportAllComponents 
DeltaTeleportation 
OnlyTeleportRootComponent 
DropOnTeleport 
DontTeleport 

Definition at line 1181 of file VRBPDatatypes.h.

◆ EGripLateUpdateSettings

enum class EGripLateUpdateSettings : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
LateUpdatesAlwaysOn 
LateUpdatesAlwaysOff 
NotWhenColliding 
NotWhenDoubleGripping 
NotWhenCollidingOrDoubleGripping 

Definition at line 1133 of file VRBPDatatypes.h.

◆ EGripLerpState

enum class EGripLerpState : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
StartLerp 
EndLerp 
NotLerping 

Definition at line 1093 of file VRBPDatatypes.h.

◆ EGripMovementReplicationSettings

enum class EGripMovementReplicationSettings : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
KeepOriginalMovement 
ForceServerSideMovement 
ForceClientSideMovement 
ClientSide_Authoritive 
ClientSide_Authoritive_NoRep 

Definition at line 1154 of file VRBPDatatypes.h.

◆ EGripTargetType

enum class EGripTargetType : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
ActorGrip 
ComponentGrip 

Definition at line 1168 of file VRBPDatatypes.h.

◆ EPhysicsGripCOMType

enum class EPhysicsGripCOMType : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
COM_Default 
COM_AtPivot 
COM_SetAndGripAt 
COM_GripAt 
COM_GripAtControllerLoc 

Definition at line 1211 of file VRBPDatatypes.h.

◆ EPhysicsGripConstraintType

enum class EPhysicsGripConstraintType : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
AccelerationConstraint 
ForceConstraint 

Definition at line 1200 of file VRBPDatatypes.h.

◆ ESecondaryGripType

enum class ESecondaryGripType : uint8
strongBlueprintable

UENUM(Blueprintable)

Enumerator
SG_None 
SG_Free 
SG_SlotOnly 
SG_Free_Retain 
SG_SlotOnly_Retain 
SG_FreeWithScaling_Retain 
SG_SlotOnlyWithScaling_Retain 
SG_Custom 
SG_ScalingOnly 

Definition at line 1106 of file VRBPDatatypes.h.

◆ EVRClientAuthConflictResolutionMode

enum class EVRClientAuthConflictResolutionMode : uint8
strongBlueprintType

UENUM(BlueprintType)

Enumerator
VRGRIP_CONFLICT_None 
VRGRIP_CONFLICT_First 
VRGRIP_CONFLICT_Last 
VRGRIP_CONFLICT_DropAll 

Definition at line 98 of file VRBPDatatypes.h.

◆ EVRConjoinedMovementModes

enum class EVRConjoinedMovementModes : uint8
strongBlueprintType

UENUM(BlueprintType)

Enumerator
C_MOVE_None 
C_MOVE_Walking 
C_MOVE_NavWalking 
C_MOVE_Falling 
C_MOVE_Swimming 
C_MOVE_Flying 
C_MOVE_MAX 
C_VRMOVE_Climbing 
C_VRMOVE_LowGrav 
C_VRMOVE_Seated 
C_VRMOVE_SplineFollow 
C_VRMOVE_Custom1 
C_VRMOVE_Custom2 
C_VRMOVE_Custom3 
C_VRMOVE_Custom4 
C_VRMOVE_Custom5 
C_VRMOVE_Custom6 
C_VRMOVE_Custom7 
C_VRMOVE_Custom8 
C_VRMOVE_Custom9 
C_VRMOVE_Custom10 

Definition at line 40 of file VRBPDatatypes.h.

◆ EVRCustomMovementMode

enum class EVRCustomMovementMode : uint8
strongBlueprintType

UENUM(BlueprintType)

Enumerator
VRMOVE_Climbing 

Metadata:
DisplayName: STRING

VRMOVE_LowGrav 

Metadata:
DisplayName: STRING

VRMOVE_Seated 

Metadata:
DisplayName: STRING

VRMOVE_SplineFollow 

Metadata:
DisplayName: STRING

Definition at line 26 of file VRBPDatatypes.h.

◆ EVRLerpInterpolationMode

enum class EVRLerpInterpolationMode : uint8
strongBlueprintType

UENUM(BlueprintType)

Different methods for interpolating rotation between transforms

Enumerator
QuatInterp 

Shortest Path or Quaternion interpolation for the rotation.

EulerInterp 

Rotor or Euler Angle interpolation.

DualQuatInterp 

Dual quaternion interpolation, follows helix or screw-motion path between keyframes.

Definition at line 194 of file VRBPDatatypes.h.

◆ EVRRotationQuantization

enum class EVRRotationQuantization : uint8
strong

UENUM()

Enumerator
RoundTo10Bits 

Each rotation component will be rounded to 10 bits (1024 values).

RoundToShort 

Each rotation component will be rounded to a short.

Definition at line 848 of file VRBPDatatypes.h.

◆ EVRVectorQuantization

enum class EVRVectorQuantization : uint8
strong

UENUM()

Enumerator
RoundOneDecimal 

Each vector component will be rounded, preserving one decimal place.

RoundTwoDecimals 

Each vector component will be rounded, preserving two decimal places.

Definition at line 837 of file VRBPDatatypes.h.

◆ EVRVelocityType

enum class EVRVelocityType : uint8
strongBlueprintType

UENUM(BlueprintType)

Enumerator
VRLOCITY_Default 

Metadata:
DisplayName: STRING

VRLOCITY_RunningAverage 

Metadata:
DisplayName: STRING

VRLOCITY_SamplePeak 

Metadata:
DisplayName: STRING

Definition at line 492 of file VRBPDatatypes.h.