A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
UGS_Melee Class ReferenceNotBlueprintable

UCLASS(NotBlueprintable, ClassGroup = (VRExpansionPlugin), hideCategories = TickSettings) More...

#include <GS_Melee.h>

Inheritance diagram for UGS_Melee:
[legend]

Public Member Functions

 UGS_Melee (const FObjectInitializer &ObjectInitializer)
 
virtual void ApplySmoothingAndLerp (FBPActorGripInformation &Grip, FVector &frontLoc, FVector &frontLocOrig, float DeltaTime)
 
void BeginPlay (UObject *CallingOwner)
 
virtual void CalculateSecondaryLocation (FVector &frontLoc, const FVector &BasePoint, FBPActorGripInformation &Grip, UGripMotionControllerComponent *GrippingController)
 
virtual bool CallCorrect_GetWorldTransform (UGripMotionControllerComponent *OwningController, float DeltaTime, FTransform &WorldTransform, const FTransform &ParentTransform, FBPActorGripInformation &Grip, AActor *actor, UPrimitiveComponent *root, bool bRootHasInterface, bool bActorHasInterface, bool bIsForTeleport)
 
virtual bool CallRemoteFunction (UFunction *Function, void *Parms, FOutParmRec *OutParms, FFrame *Stack) override
 
void EndPlay (const EEndPlayReason::Type EndPlayReason)
 
void ForceGripToDrop ()
 UFUNCTION(BlueprintCallable, Category = "VRGripScript")
 
virtual void GetAnyScaling (FVector &Scaler, FBPActorGripInformation &Grip, FVector &frontLoc, FVector &frontLocOrig, ESecondaryGripType SecondaryType, FTransform &SecondaryTransform)
 
virtual int32 GetFunctionCallspace (UFunction *Function, FFrame *Stack) override
 
FTransform GetGripTransform (const FBPActorGripInformation &Grip, const FTransform &ParentTransform)
 UFUNCTION(BlueprintPure, Category = "VRGripScript")
 
virtual void GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const override
 
AActorGetOwner ()
 UFUNCTION(BlueprintPure, Category = "VRGripScript")
 
UObjectGetParent ()
 UFUNCTION(BlueprintPure, Category = "VRGripScript")
 
FBodyInstance * GetParentBodyInstance (FName OptionalBoneName=NAME_None)
 
USceneComponentGetParentSceneComp ()
 UFUNCTION(BlueprintCallable, Category = "VRGripScript")
 
FTransform GetParentTransform (bool bGetWorldTransform=true, FName BoneName=NAME_None)
 UFUNCTION(BlueprintPure, Category = "VRGripScript")
 
virtual TStatId GetStatId () const override
 
virtual UWorld * GetTickableGameObjectWorld () const override
 
virtual ETickableTickType GetTickableTickType () const
 
virtual UWorld * GetWorld () const override
 
bool GetWorldTransform (UGripMotionControllerComponent *GrippingController, float DeltaTime, UPARAM(ref) FTransform &WorldTransform, const FTransform &ParentTransform, UPARAM(ref) FBPActorGripInformation &Grip, AActor *actor, UPrimitiveComponent *root, bool bRootHasInterface, bool bActorHasInterface, bool bIsForTeleport)
 UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
 
virtual bool GetWorldTransform_Implementation (UGripMotionControllerComponent *GrippingController, float DeltaTime, FTransform &WorldTransform, const FTransform &ParentTransform, FBPActorGripInformation &Grip, AActor *actor, UPrimitiveComponent *root, bool bRootHasInterface, bool bActorHasInterface, bool bIsForTeleport) override
 
EGSTransformOverrideType GetWorldTransformOverrideType ()
 
virtual void HandlePostPhysicsHandle (UGripMotionControllerComponent *GrippingController, FBPActorPhysicsHandleInformation *HandleInfo) override
 
virtual void HandlePrePhysicsHandle (UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInfo, FBPActorPhysicsHandleInformation *HandleInfo, FTransform &KinPose) override
 
bool HasAuthority ()
 UFUNCTION(BlueprintPure, Category = "VRGripScript")
 
FORCEINLINE bool InjectPostPhysicsHandle ()
 
FORCEINLINE bool InjectPrePhysicsHandle ()
 
bool IsScriptActive ()
 
bool IsServer ()
 UFUNCTION(BlueprintPure, Category = "VRGripScript")
 
bool IsSupportedForNetworking () const override
 
virtual bool IsTickable () const override
 
virtual bool IsTickableInEditor () const
 
virtual bool IsTickableWhenPaused () const override
 
void OnBeginPlay (UObject *CallingOwner)
 UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
 
virtual void OnBeginPlay_Implementation (UObject *CallingOwner) override
 
void OnEndPlay (const EEndPlayReason::Type EndPlayReason)
 UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
 
virtual void OnEndPlay_Implementation (const EEndPlayReason::Type EndPlayReason) override
 
void OnGrip (UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation)
 UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
 
virtual void OnGrip_Implementation (UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation) override
 
void OnGripRelease (UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed=false)
 UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
 
virtual void OnGripRelease_Implementation (UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed=false) override
 
virtual void OnLodgeHitCallback (AActor *SelfActor, AActor *OtherActor, FVector NormalImpulse, const FHitResult &Hit)
 UFUNCTION()
 
void OnSecondaryGrip (UGripMotionControllerComponent *Controller, USceneComponent *SecondaryGripComponent, const FBPActorGripInformation &GripInformation)
 UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
 
virtual void OnSecondaryGrip_Implementation (UGripMotionControllerComponent *Controller, USceneComponent *SecondaryGripComponent, const FBPActorGripInformation &GripInformation) override
 
void OnSecondaryGripRelease (UGripMotionControllerComponent *Controller, USceneComponent *ReleasingSecondaryGripComponent, const FBPActorGripInformation &GripInformation)
 UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
 
virtual void OnSecondaryGripRelease_Implementation (UGripMotionControllerComponent *Controller, USceneComponent *ReleasingSecondaryGripComponent, const FBPActorGripInformation &GripInformation)
 
virtual void PostInitProperties () override
 
void SetComBetweenHands (UGripMotionControllerComponent *GrippingController, FBPActorPhysicsHandleInformation *HandleInfo)
 
void SetIsLodged (bool IsLodged, UPrimitiveComponent *LodgeComponent)
 UFUNCTION(BlueprintCallable, Category = "Weapon Settings")
 
void SetPrimaryAndSecondaryHands (FBPGripPair &PrimaryGrip, FBPGripPair &SecondaryGrip)
 UFUNCTION(BlueprintCallable, Category = "Weapon Settings")
 
void SetTickEnabled (bool bTickEnabled)
 UFUNCTION(BlueprintCallable, Category = "TickSettings")
 
virtual void Tick (float DeltaTime) override
 
void UpdateDualHandInfo ()
 
void UpdateHandPosition (FBPGripPair HandPair, FVector HandWorldPosition, FVector &LocDifference)
 UFUNCTION(BlueprintCallable, Category = "Weapon Settings")
 
void UpdateHandPositionAndRotation (FBPGripPair HandPair, FTransform HandWorldTransform, FVector &LocDifference, float &RotDifference, bool bUpdateLocation=true, bool bUpdateRotation=true)
 UFUNCTION(BlueprintCallable, Category = "Weapon Settings")
 
FORCEINLINE bool Wants_DenyAutoDrop ()
 
FORCEINLINE bool Wants_DenyLateUpdates ()
 
bool Wants_DenyTeleport (UGripMotionControllerComponent *Controller)
 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripScript")
 
virtual bool Wants_DenyTeleport_Implementation (UGripMotionControllerComponent *Controller) override
 
FORCEINLINE bool Wants_ToForceDrop ()
 

Static Public Member Functions

static UVRGripScriptBaseGetGripScriptByClass (UObject *WorldContextObject, TSubclassOf< UVRGripScriptBase > GripScriptClass, EBPVRResultSwitch &Result)
 UFUNCTION(BlueprintCallable, Category = "VRGripScript|Functions", meta = (WorldContext = "WorldContextObject", bIgnoreSelf = "true", DisplayName = "GetGripScriptByClass", ExpandEnumAsExecs = "Result"))
 

Public Attributes

bool bAllowTicking
 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "TickSettings")
 
bool bAlreadyNotifiedPlay = false
 
bool bAlwaysTickPenetration
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Melee|Lodging")
 
bool bAutoSetPrimaryAndSecondaryHands
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")
 
bool bCanEverTick
 UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "TickSettings")
 
bool bCheckLodge
 
bool bDenyAutoDrop
 UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
 
bool bDenyLateUpdates
 UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
 
bool bForceDrop
 UPROPERTY(BlueprintReadWrite, Category = "GSSettings")
 
bool bHasValidPrimaryHand
 
bool bInjectPostPhysicsHandle
 UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
 
bool bInjectPrePhysicsHandle
 UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
 
bool bIsActive
 UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
 
bool bIsHeld
 
bool bIsLodged
 
bool bOnlyPenetrateWithTwoHands
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Melee|Lodging")
 
bool bUsePrimaryHandSettingsWithOneHand
 UPROPERTY(BlueprintReadOnly, Category = "Weapon Settings")
 
EVRMeleeComType COMType
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")
 
FVector LastRelativePos
 
TWeakObjectPtr< UPrimitiveComponent > LodgedComponent
 
FTransform ObjectRelativeGripCenter
 
FVROnMeleeOnHit OnMeleeHit
 UPROPERTY(BlueprintAssignable, Category = "Melee|Hit")
 
FVROnMeleeInvalidHitSignature OnMeleeInvalidHit
 UPROPERTY(BlueprintAssignable, Category = "Melee|Hit")
 
FVROnMeleeShouldLodgeSignature OnShouldLodgeInObject
 UPROPERTY(BlueprintAssignable, Category = "Melee|Lodging")
 
FTransform OrientationComponentRelativeFacing
 
TArray< FBPHitSurfacePropertiesOverrideMeleeSurfaceSettings
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Melee|Lodging")
 
TArray< FBPLodgeComponentInfoPenetrationNotifierComponents
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")
 
FBPGripPair PrimaryHand
 UPROPERTY(BlueprintReadOnly, Category = "Weapon Settings")
 
FBPAdvancedPhysicsHandleSettings PrimaryHandPhysicsSettings
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")
 
EVRMeleePrimaryHandType PrimaryHandSelectionType
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")
 
FVector RelativeBetweenGripsCenterPos
 
FBPGripPair SecondaryHand
 UPROPERTY(BlueprintReadOnly, Category = "Weapon Settings")
 
FBPAdvancedPhysicsHandleSettings SecondaryHandPhysicsSettings
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")
 
FName WeaponRootOrientationComponent
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")
 
EGSTransformOverrideType WorldTransformOverrideType
 UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS(NotBlueprintable, ClassGroup = (VRExpansionPlugin), hideCategories = TickSettings)

A Melee grip script that hands multi hand interactions and penetration notifications* The per surface damage and penetration options have been moved to the project settings unless the per script override is set

Definition at line 260 of file GS_Melee.h.

Constructor & Destructor Documentation

◆ UGS_Melee()

UGS_Melee::UGS_Melee ( const FObjectInitializer & ObjectInitializer)

Definition at line 13 of file GS_Melee.cpp.

Member Function Documentation

◆ ApplySmoothingAndLerp()

void UGS_Default::ApplySmoothingAndLerp ( FBPActorGripInformation & Grip,
FVector & frontLoc,
FVector & frontLocOrig,
float DeltaTime )
virtualinherited

Definition at line 27 of file GS_Default.cpp.

Here is the caller graph for this function:

◆ BeginPlay()

void UVRGripScriptBase::BeginPlay ( UObject * CallingOwner)
inherited

Definition at line 321 of file VRGripScriptBase.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateSecondaryLocation()

void UGS_Default::CalculateSecondaryLocation ( FVector & frontLoc,
const FVector & BasePoint,
FBPActorGripInformation & Grip,
UGripMotionControllerComponent * GrippingController )
virtualinherited

Definition at line 177 of file GS_Default.cpp.

Here is the caller graph for this function:

◆ CallCorrect_GetWorldTransform()

virtual bool UVRGripScriptBase::CallCorrect_GetWorldTransform ( UGripMotionControllerComponent * OwningController,
float DeltaTime,
FTransform & WorldTransform,
const FTransform & ParentTransform,
FBPActorGripInformation & Grip,
AActor * actor,
UPrimitiveComponent * root,
bool bRootHasInterface,
bool bActorHasInterface,
bool bIsForTeleport )
inlinevirtualinherited

Reimplemented in UVRGripScriptBaseBP.

Definition at line 350 of file VRGripScriptBase.h.

Here is the caller graph for this function:

◆ CallRemoteFunction()

bool UVRGripScriptBase::CallRemoteFunction ( UFunction * Function,
void * Parms,
FOutParmRec * OutParms,
FFrame * Stack )
overridevirtualinherited

Definition at line 154 of file VRGripScriptBase.cpp.

Here is the call graph for this function:

◆ EndPlay()

void UVRGripScriptBase::EndPlay ( const EEndPlayReason::Type EndPlayReason)
inherited

Definition at line 316 of file VRGripScriptBase.cpp.

Here is the call graph for this function:

◆ ForceGripToDrop()

void UVRGripScriptBase::ForceGripToDrop ( )
inlineinheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRGripScript")

Definition at line 118 of file VRGripScriptBase.h.

◆ GENERATED_BODY()

UGS_Melee::GENERATED_BODY ( )
private

◆ GetAnyScaling()

void UGS_Default::GetAnyScaling ( FVector & Scaler,
FBPActorGripInformation & Grip,
FVector & frontLoc,
FVector & frontLocOrig,
ESecondaryGripType SecondaryType,
FTransform & SecondaryTransform )
virtualinherited

Reimplemented in UGS_ExtendedDefault.

Definition at line 14 of file GS_Default.cpp.

Here is the caller graph for this function:

◆ GetFunctionCallspace()

int32 UVRGripScriptBase::GetFunctionCallspace ( UFunction * Function,
FFrame * Stack )
overridevirtualinherited

Definition at line 178 of file VRGripScriptBase.cpp.

Here is the call graph for this function:

◆ GetGripScriptByClass()

UVRGripScriptBase * UVRGripScriptBase::GetGripScriptByClass ( UObject * WorldContextObject,
TSubclassOf< UVRGripScriptBase > GripScriptClass,
EBPVRResultSwitch & Result )
staticinheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRGripScript|Functions", meta = (WorldContext = "WorldContextObject", bIgnoreSelf = "true", DisplayName = "GetGripScriptByClass", ExpandEnumAsExecs = "Result"))

Definition at line 45 of file VRGripScriptBase.cpp.

Here is the caller graph for this function:

◆ GetGripTransform()

FTransform UVRGripScriptBase::GetGripTransform ( const FBPActorGripInformation & Grip,
const FTransform & ParentTransform )
inheritedBlueprintPure

UFUNCTION(BlueprintPure, Category = "VRGripScript")

Definition at line 192 of file VRGripScriptBase.cpp.

◆ GetLifetimeReplicatedProps()

void UVRGripScriptBase::GetLifetimeReplicatedProps ( TArray< class FLifetimeProperty > & OutLifetimeProps) const
overridevirtualinherited

Definition at line 67 of file VRGripScriptBase.cpp.

◆ GetOwner()

AActor * UVRGripScriptBase::GetOwner ( )
inheritedBlueprintPure

UFUNCTION(BlueprintPure, Category = "VRGripScript")

Definition at line 260 of file VRGripScriptBase.cpp.

Here is the caller graph for this function:

◆ GetParent()

UObject * UVRGripScriptBase::GetParent ( )
inheritedBlueprintPure

UFUNCTION(BlueprintPure, Category = "VRGripScript")

Definition at line 255 of file VRGripScriptBase.cpp.

Here is the caller graph for this function:

◆ GetParentBodyInstance()

FBodyInstance * UVRGripScriptBase::GetParentBodyInstance ( FName OptionalBoneName = NAME_None)
inherited

Definition at line 236 of file VRGripScriptBase.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetParentSceneComp()

USceneComponent * UVRGripScriptBase::GetParentSceneComp ( )
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRGripScript")

Definition at line 197 of file VRGripScriptBase.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetParentTransform()

FTransform UVRGripScriptBase::GetParentTransform ( bool bGetWorldTransform = true,
FName BoneName = NAME_None )
inheritedBlueprintPure

UFUNCTION(BlueprintPure, Category = "VRGripScript")

Definition at line 213 of file VRGripScriptBase.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetStatId()

TStatId UVRGripScriptBase::GetStatId ( ) const
overridevirtualinherited

Definition at line 113 of file VRGripScriptBase.cpp.

◆ GetTickableGameObjectWorld()

UWorld * UVRGripScriptBase::GetTickableGameObjectWorld ( ) const
overridevirtualinherited

Definition at line 90 of file VRGripScriptBase.cpp.

Here is the call graph for this function:

◆ GetTickableTickType()

ETickableTickType UVRGripScriptBase::GetTickableTickType ( ) const
virtualinherited

Definition at line 105 of file VRGripScriptBase.cpp.

◆ GetWorld()

UWorld * UVRGripScriptBase::GetWorld ( ) const
overridevirtualinherited

Definition at line 299 of file VRGripScriptBase.cpp.

Here is the caller graph for this function:

◆ GetWorldTransform()

bool UVRGripScriptBase::GetWorldTransform ( UGripMotionControllerComponent * GrippingController,
float DeltaTime,
UPARAM(ref) FTransform & WorldTransform,
const FTransform & ParentTransform,
UPARAM(ref) FBPActorGripInformation & Grip,
AActor * actor,
UPrimitiveComponent * root,
bool bRootHasInterface,
bool bActorHasInterface,
bool bIsForTeleport )
inheritedBlueprintNativeEvent

UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")

◆ GetWorldTransform_Implementation()

bool UGS_Melee::GetWorldTransform_Implementation ( UGripMotionControllerComponent * GrippingController,
float DeltaTime,
FTransform & WorldTransform,
const FTransform & ParentTransform,
FBPActorGripInformation & Grip,
AActor * actor,
UPrimitiveComponent * root,
bool bRootHasInterface,
bool bActorHasInterface,
bool bIsForTeleport )
overridevirtual

Reimplemented from UGS_Default.

Definition at line 816 of file GS_Melee.cpp.

Here is the call graph for this function:

◆ GetWorldTransformOverrideType()

EGSTransformOverrideType UVRGripScriptBase::GetWorldTransformOverrideType ( )
inherited

Definition at line 36 of file VRGripScriptBase.cpp.

◆ HandlePostPhysicsHandle()

void UGS_Melee::HandlePostPhysicsHandle ( UGripMotionControllerComponent * GrippingController,
FBPActorPhysicsHandleInformation * HandleInfo )
overridevirtual

Reimplemented from UVRGripScriptBase.

Definition at line 723 of file GS_Melee.cpp.

Here is the call graph for this function:

◆ HandlePrePhysicsHandle()

void UGS_Melee::HandlePrePhysicsHandle ( UGripMotionControllerComponent * GrippingController,
const FBPActorGripInformation & GripInfo,
FBPActorPhysicsHandleInformation * HandleInfo,
FTransform & KinPose )
overridevirtual

Reimplemented from UVRGripScriptBase.

Definition at line 707 of file GS_Melee.cpp.

◆ HasAuthority()

bool UVRGripScriptBase::HasAuthority ( )
inheritedBlueprintPure

UFUNCTION(BlueprintPure, Category = "VRGripScript")

Definition at line 279 of file VRGripScriptBase.cpp.

Here is the call graph for this function:

◆ InjectPostPhysicsHandle()

FORCEINLINE bool UVRGripScriptBase::InjectPostPhysicsHandle ( )
inlineinherited

Definition at line 154 of file VRGripScriptBase.h.

◆ InjectPrePhysicsHandle()

FORCEINLINE bool UVRGripScriptBase::InjectPrePhysicsHandle ( )
inlineinherited

Definition at line 138 of file VRGripScriptBase.h.

◆ IsScriptActive()

bool UVRGripScriptBase::IsScriptActive ( )
inherited

Definition at line 37 of file VRGripScriptBase.cpp.

Here is the caller graph for this function:

◆ IsServer()

bool UVRGripScriptBase::IsServer ( )
inheritedBlueprintPure

UFUNCTION(BlueprintPure, Category = "VRGripScript")

Definition at line 289 of file VRGripScriptBase.cpp.

Here is the call graph for this function:

◆ IsSupportedForNetworking()

bool UVRGripScriptBase::IsSupportedForNetworking ( ) const
inlineoverrideinherited

Definition at line 57 of file VRGripScriptBase.h.

Here is the caller graph for this function:

◆ IsTickable()

bool UVRGripScriptBase::IsTickable ( ) const
overridevirtualinherited

Definition at line 85 of file VRGripScriptBase.cpp.

◆ IsTickableInEditor()

bool UVRGripScriptBase::IsTickableInEditor ( ) const
virtualinherited

Definition at line 95 of file VRGripScriptBase.cpp.

◆ IsTickableWhenPaused()

bool UVRGripScriptBase::IsTickableWhenPaused ( ) const
overridevirtualinherited

Definition at line 100 of file VRGripScriptBase.cpp.

◆ OnBeginPlay()

void UVRGripScriptBase::OnBeginPlay ( UObject * CallingOwner)
inheritedBlueprintNativeEvent

UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")

Here is the caller graph for this function:

◆ OnBeginPlay_Implementation()

void UGS_Melee::OnBeginPlay_Implementation ( UObject * CallingOwner)
overridevirtual

Reimplemented from UVRGripScriptBase.

Definition at line 516 of file GS_Melee.cpp.

Here is the call graph for this function:

◆ OnEndPlay()

void UVRGripScriptBase::OnEndPlay ( const EEndPlayReason::Type EndPlayReason)
inheritedBlueprintNativeEvent

UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")

Here is the caller graph for this function:

◆ OnEndPlay_Implementation()

void UGS_Melee::OnEndPlay_Implementation ( const EEndPlayReason::Type EndPlayReason)
overridevirtual

Reimplemented from UVRGripScriptBase.

Definition at line 567 of file GS_Melee.cpp.

Here is the call graph for this function:

◆ OnGrip()

void UVRGripScriptBase::OnGrip ( UGripMotionControllerComponent * GrippingController,
const FBPActorGripInformation & GripInformation )
inheritedBlueprintNativeEvent

UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")

◆ OnGrip_Implementation()

void UGS_Melee::OnGrip_Implementation ( UGripMotionControllerComponent * GrippingController,
const FBPActorGripInformation & GripInformation )
overridevirtual

Reimplemented from UVRGripScriptBase.

Definition at line 371 of file GS_Melee.cpp.

Here is the call graph for this function:

◆ OnGripRelease()

void UVRGripScriptBase::OnGripRelease ( UGripMotionControllerComponent * ReleasingController,
const FBPActorGripInformation & GripInformation,
bool bWasSocketed = false )
inheritedBlueprintNativeEvent

UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")

◆ OnGripRelease_Implementation()

void UGS_Melee::OnGripRelease_Implementation ( UGripMotionControllerComponent * ReleasingController,
const FBPActorGripInformation & GripInformation,
bool bWasSocketed = false )
overridevirtual

Reimplemented from UVRGripScriptBase.

Definition at line 434 of file GS_Melee.cpp.

Here is the call graph for this function:

◆ OnLodgeHitCallback()

void UGS_Melee::OnLodgeHitCallback ( AActor * SelfActor,
AActor * OtherActor,
FVector NormalImpulse,
const FHitResult & Hit )
virtual

UFUNCTION()

Definition at line 575 of file GS_Melee.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnSecondaryGrip()

void UVRGripScriptBase::OnSecondaryGrip ( UGripMotionControllerComponent * Controller,
USceneComponent * SecondaryGripComponent,
const FBPActorGripInformation & GripInformation )
inheritedBlueprintNativeEvent

UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")

◆ OnSecondaryGrip_Implementation()

void UGS_Melee::OnSecondaryGrip_Implementation ( UGripMotionControllerComponent * Controller,
USceneComponent * SecondaryGripComponent,
const FBPActorGripInformation & GripInformation )
overridevirtual

Reimplemented from UVRGripScriptBase.

Definition at line 363 of file GS_Melee.cpp.

Here is the call graph for this function:

◆ OnSecondaryGripRelease()

void UVRGripScriptBase::OnSecondaryGripRelease ( UGripMotionControllerComponent * Controller,
USceneComponent * ReleasingSecondaryGripComponent,
const FBPActorGripInformation & GripInformation )
inheritedBlueprintNativeEvent

UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")

◆ OnSecondaryGripRelease_Implementation()

void UVRGripScriptBase::OnSecondaryGripRelease_Implementation ( UGripMotionControllerComponent * Controller,
USceneComponent * ReleasingSecondaryGripComponent,
const FBPActorGripInformation & GripInformation )
virtualinherited

Definition at line 33 of file VRGripScriptBase.cpp.

◆ PostInitProperties()

void UVRGripScriptBase::PostInitProperties ( )
overridevirtualinherited

Definition at line 332 of file VRGripScriptBase.cpp.

Here is the call graph for this function:

◆ SetComBetweenHands()

void UGS_Melee::SetComBetweenHands ( UGripMotionControllerComponent * GrippingController,
FBPActorPhysicsHandleInformation * HandleInfo )

Definition at line 761 of file GS_Melee.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetIsLodged()

void UGS_Melee::SetIsLodged ( bool IsLodged,
UPrimitiveComponent * LodgeComponent )
inlineBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Weapon Settings")

Definition at line 276 of file GS_Melee.h.

◆ SetPrimaryAndSecondaryHands()

void UGS_Melee::SetPrimaryAndSecondaryHands ( FBPGripPair & PrimaryGrip,
FBPGripPair & SecondaryGrip )
BlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Weapon Settings")

Definition at line 357 of file GS_Melee.cpp.

◆ SetTickEnabled()

void UVRGripScriptBase::SetTickEnabled ( bool bTickEnabled)
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "TickSettings")

Definition at line 118 of file VRGripScriptBase.cpp.

◆ Tick()

void UVRGripScriptBase::Tick ( float DeltaTime)
overridevirtualinherited

Function called every frame on this GripScript. Override this function to implement custom logic to be executed every frame. Only executes if bCanEverTick is true and bAllowTicking is true

Parameters
DeltaTime- The time since the last tick.

Reimplemented in UVRGripScriptBaseBP.

Definition at line 80 of file VRGripScriptBase.cpp.

◆ UpdateDualHandInfo()

void UGS_Melee::UpdateDualHandInfo ( )

Definition at line 42 of file GS_Melee.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateHandPosition()

void UGS_Melee::UpdateHandPosition ( FBPGripPair HandPair,
FVector HandWorldPosition,
FVector & LocDifference )
BlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Weapon Settings")

Definition at line 270 of file GS_Melee.cpp.

Here is the call graph for this function:

◆ UpdateHandPositionAndRotation()

void UGS_Melee::UpdateHandPositionAndRotation ( FBPGripPair HandPair,
FTransform HandWorldTransform,
FVector & LocDifference,
float & RotDifference,
bool bUpdateLocation = true,
bool bUpdateRotation = true )
BlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Weapon Settings")

Definition at line 171 of file GS_Melee.cpp.

Here is the call graph for this function:

◆ Wants_DenyAutoDrop()

FORCEINLINE bool UVRGripScriptBase::Wants_DenyAutoDrop ( )
inlineinherited

Definition at line 87 of file VRGripScriptBase.h.

◆ Wants_DenyLateUpdates()

FORCEINLINE bool UVRGripScriptBase::Wants_DenyLateUpdates ( )
inlineinherited

Definition at line 124 of file VRGripScriptBase.h.

◆ Wants_DenyTeleport()

bool UVRGripScriptBase::Wants_DenyTeleport ( UGripMotionControllerComponent * Controller)
inheritedBlueprintCallableBlueprintNativeEvent

UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripScript")

◆ Wants_DenyTeleport_Implementation()

bool UGS_Melee::Wants_DenyTeleport_Implementation ( UGripMotionControllerComponent * Controller)
overridevirtual

Reimplemented from UVRGripScriptBase.

Definition at line 806 of file GS_Melee.cpp.

◆ Wants_ToForceDrop()

FORCEINLINE bool UVRGripScriptBase::Wants_ToForceDrop ( )
inlineinherited

Definition at line 101 of file VRGripScriptBase.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bAllowTicking

bool UVRGripScriptBase::bAllowTicking
inheritedEditAnywhereBlueprintReadWrite

UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "TickSettings")

Definition at line 202 of file VRGripScriptBase.h.

◆ bAlreadyNotifiedPlay

bool UVRGripScriptBase::bAlreadyNotifiedPlay = false
inherited

Definition at line 295 of file VRGripScriptBase.h.

◆ bAlwaysTickPenetration

bool UGS_Melee::bAlwaysTickPenetration
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Melee|Lodging")

Definition at line 314 of file GS_Melee.h.

◆ bAutoSetPrimaryAndSecondaryHands

bool UGS_Melee::bAutoSetPrimaryAndSecondaryHands
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")

Definition at line 391 of file GS_Melee.h.

◆ bCanEverTick

bool UVRGripScriptBase::bCanEverTick
inheritedEditDefaultsOnlyBlueprintReadWrite

UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "TickSettings")

Definition at line 194 of file VRGripScriptBase.h.

◆ bCheckLodge

bool UGS_Melee::bCheckLodge

Definition at line 378 of file GS_Melee.h.

◆ bDenyAutoDrop

bool UVRGripScriptBase::bDenyAutoDrop
inheritedEditDefaultsOnlyBlueprintReadWrite

UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")

Definition at line 98 of file VRGripScriptBase.h.

◆ bDenyLateUpdates

bool UVRGripScriptBase::bDenyLateUpdates
inheritedEditDefaultsOnlyBlueprintReadWrite

UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")

Definition at line 135 of file VRGripScriptBase.h.

◆ bForceDrop

bool UVRGripScriptBase::bForceDrop
inheritedBlueprintReadWrite

UPROPERTY(BlueprintReadWrite, Category = "GSSettings")

Definition at line 111 of file VRGripScriptBase.h.

◆ bHasValidPrimaryHand

bool UGS_Melee::bHasValidPrimaryHand

Definition at line 394 of file GS_Melee.h.

◆ bInjectPostPhysicsHandle

bool UVRGripScriptBase::bInjectPostPhysicsHandle
inheritedEditDefaultsOnlyBlueprintReadWrite

UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")

Definition at line 165 of file VRGripScriptBase.h.

◆ bInjectPrePhysicsHandle

bool UVRGripScriptBase::bInjectPrePhysicsHandle
inheritedEditDefaultsOnlyBlueprintReadWrite

UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")

Definition at line 149 of file VRGripScriptBase.h.

◆ bIsActive

bool UVRGripScriptBase::bIsActive
inheritedEditDefaultsOnlyBlueprintReadWrite

UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")

Definition at line 73 of file VRGripScriptBase.h.

◆ bIsHeld

bool UGS_Melee::bIsHeld

Definition at line 379 of file GS_Melee.h.

◆ bIsLodged

bool UGS_Melee::bIsLodged

Definition at line 282 of file GS_Melee.h.

◆ bOnlyPenetrateWithTwoHands

bool UGS_Melee::bOnlyPenetrateWithTwoHands
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Melee|Lodging")

Definition at line 323 of file GS_Melee.h.

◆ bUsePrimaryHandSettingsWithOneHand

bool UGS_Melee::bUsePrimaryHandSettingsWithOneHand
BlueprintReadOnly

UPROPERTY(BlueprintReadOnly, Category = "Weapon Settings")

Definition at line 427 of file GS_Melee.h.

◆ COMType

EVRMeleeComType UGS_Melee::COMType
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")

Definition at line 435 of file GS_Melee.h.

◆ LastRelativePos

FVector UGS_Melee::LastRelativePos

Definition at line 381 of file GS_Melee.h.

◆ LodgedComponent

TWeakObjectPtr<UPrimitiveComponent> UGS_Melee::LodgedComponent

Definition at line 283 of file GS_Melee.h.

◆ ObjectRelativeGripCenter

FTransform UGS_Melee::ObjectRelativeGripCenter

Definition at line 437 of file GS_Melee.h.

◆ OnMeleeHit

FVROnMeleeOnHit UGS_Melee::OnMeleeHit
BlueprintAssignable

UPROPERTY(BlueprintAssignable, Category = "Melee|Hit")

Definition at line 299 of file GS_Melee.h.

◆ OnMeleeInvalidHit

FVROnMeleeInvalidHitSignature UGS_Melee::OnMeleeInvalidHit
BlueprintAssignable

UPROPERTY(BlueprintAssignable, Category = "Melee|Hit")

Definition at line 306 of file GS_Melee.h.

◆ OnShouldLodgeInObject

FVROnMeleeShouldLodgeSignature UGS_Melee::OnShouldLodgeInObject
BlueprintAssignable

UPROPERTY(BlueprintAssignable, Category = "Melee|Lodging")

Definition at line 292 of file GS_Melee.h.

◆ OrientationComponentRelativeFacing

FTransform UGS_Melee::OrientationComponentRelativeFacing

Definition at line 346 of file GS_Melee.h.

◆ OverrideMeleeSurfaceSettings

TArray<FBPHitSurfaceProperties> UGS_Melee::OverrideMeleeSurfaceSettings
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Melee|Lodging")

Definition at line 332 of file GS_Melee.h.

◆ PenetrationNotifierComponents

TArray<FBPLodgeComponentInfo> UGS_Melee::PenetrationNotifierComponents
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")

Definition at line 376 of file GS_Melee.h.

◆ PrimaryHand

FBPGripPair UGS_Melee::PrimaryHand
BlueprintReadOnly

UPROPERTY(BlueprintReadOnly, Category = "Weapon Settings")

Definition at line 414 of file GS_Melee.h.

◆ PrimaryHandPhysicsSettings

FBPAdvancedPhysicsHandleSettings UGS_Melee::PrimaryHandPhysicsSettings
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")

Definition at line 449 of file GS_Melee.h.

◆ PrimaryHandSelectionType

EVRMeleePrimaryHandType UGS_Melee::PrimaryHandSelectionType
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")

Definition at line 408 of file GS_Melee.h.

◆ RelativeBetweenGripsCenterPos

FVector UGS_Melee::RelativeBetweenGripsCenterPos

Definition at line 382 of file GS_Melee.h.

◆ SecondaryHand

FBPGripPair UGS_Melee::SecondaryHand
BlueprintReadOnly

UPROPERTY(BlueprintReadOnly, Category = "Weapon Settings")

Definition at line 420 of file GS_Melee.h.

◆ SecondaryHandPhysicsSettings

FBPAdvancedPhysicsHandleSettings UGS_Melee::SecondaryHandPhysicsSettings
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")

Definition at line 457 of file GS_Melee.h.

◆ WeaponRootOrientationComponent

FName UGS_Melee::WeaponRootOrientationComponent
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon Settings")

Definition at line 345 of file GS_Melee.h.

◆ WorldTransformOverrideType

EGSTransformOverrideType UVRGripScriptBase::WorldTransformOverrideType
inheritedEditDefaultsOnlyBlueprintReadWrite

UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")

Definition at line 84 of file VRGripScriptBase.h.


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