A Demo Project for the UnrealEngineSDK
|
UCLASS(NotBlueprintable, ClassGroup = (VRExpansionPlugin), hideCategories = TickSettings) More...
#include <GS_Physics.h>
Public Member Functions | |
UGS_Physics (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 |
AActor * | GetOwner () |
UFUNCTION(BlueprintPure, Category = "VRGripScript") | |
UObject * | GetParent () |
UFUNCTION(BlueprintPure, Category = "VRGripScript") | |
FBodyInstance * | GetParentBodyInstance (FName OptionalBoneName=NAME_None) |
USceneComponent * | GetParentSceneComp () |
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) |
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) |
void | OnEndPlay (const EEndPlayReason::Type EndPlayReason) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript") | |
virtual void | OnEndPlay_Implementation (const EEndPlayReason::Type EndPlayReason) |
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 |
void | OnSecondaryGrip (UGripMotionControllerComponent *Controller, USceneComponent *SecondaryGripComponent, const FBPActorGripInformation &GripInformation) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface") | |
virtual void | OnSecondaryGrip_Implementation (UGripMotionControllerComponent *Controller, USceneComponent *SecondaryGripComponent, const FBPActorGripInformation &GripInformation) |
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 | SetTickEnabled (bool bTickEnabled) |
UFUNCTION(BlueprintCallable, Category = "TickSettings") | |
virtual void | Tick (float DeltaTime) override |
void | UpdateDualHandInfo (UGripMotionControllerComponent *GrippingController=nullptr, bool bRecreate=true) |
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) |
FORCEINLINE bool | Wants_ToForceDrop () |
Static Public Member Functions | |
static UVRGripScriptBase * | GetGripScriptByClass (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 | bCanEverTick |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "TickSettings") | |
bool | bDenyAutoDrop |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings") | |
bool | bDenyLateUpdates |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings") | |
bool | bForceDrop |
UPROPERTY(BlueprintReadWrite, Category = "GSSettings") | |
bool | bInjectPostPhysicsHandle |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings") | |
bool | bInjectPrePhysicsHandle |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings") | |
bool | bIsActive |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings") | |
FBPAdvancedPhysicsHandleSettings | MultiHandPhysicsSettings |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Physics Settings") | |
FBPAdvancedPhysicsHandleSettings | SingleHandPhysicsSettings |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Physics Settings") | |
EGSTransformOverrideType | WorldTransformOverrideType |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings") | |
Private Member Functions | |
GENERATED_BODY () | |
UCLASS(NotBlueprintable, ClassGroup = (VRExpansionPlugin), hideCategories = TickSettings)
A pure physics multi hand interaction grip script, expects that bAllowMultiGrips is set on the parent object*
Definition at line 22 of file GS_Physics.h.
UGS_Physics::UGS_Physics | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 7 of file GS_Physics.cpp.
|
virtualinherited |
|
inherited |
Definition at line 321 of file VRGripScriptBase.cpp.
|
virtualinherited |
|
inlinevirtualinherited |
Reimplemented in UVRGripScriptBaseBP.
Definition at line 350 of file VRGripScriptBase.h.
|
overridevirtualinherited |
|
inherited |
|
inlineinheritedBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRGripScript")
Definition at line 118 of file VRGripScriptBase.h.
|
private |
|
virtualinherited |
Reimplemented in UGS_ExtendedDefault.
Definition at line 14 of file GS_Default.cpp.
|
overridevirtualinherited |
|
staticinheritedBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRGripScript|Functions", meta = (WorldContext = "WorldContextObject", bIgnoreSelf = "true", DisplayName = "GetGripScriptByClass", ExpandEnumAsExecs = "Result"))
Definition at line 45 of file VRGripScriptBase.cpp.
|
inheritedBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 192 of file VRGripScriptBase.cpp.
|
overridevirtualinherited |
Definition at line 67 of file VRGripScriptBase.cpp.
|
inheritedBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 260 of file VRGripScriptBase.cpp.
|
inheritedBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 255 of file VRGripScriptBase.cpp.
|
inherited |
Definition at line 236 of file VRGripScriptBase.cpp.
|
inheritedBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRGripScript")
Definition at line 197 of file VRGripScriptBase.cpp.
|
inheritedBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 213 of file VRGripScriptBase.cpp.
|
overridevirtualinherited |
Definition at line 113 of file VRGripScriptBase.cpp.
|
overridevirtualinherited |
|
virtualinherited |
Definition at line 105 of file VRGripScriptBase.cpp.
|
overridevirtualinherited |
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
overridevirtualinherited |
Reimplemented from UVRGripScriptBase.
Reimplemented in UGS_GunTools, and UGS_Melee.
Definition at line 48 of file GS_Default.cpp.
|
inherited |
Definition at line 36 of file VRGripScriptBase.cpp.
|
overridevirtual |
Reimplemented from UVRGripScriptBase.
Definition at line 100 of file GS_Physics.cpp.
|
virtualinherited |
Reimplemented in UGS_GunTools, and UGS_Melee.
Definition at line 42 of file VRGripScriptBase.cpp.
|
inheritedBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 279 of file VRGripScriptBase.cpp.
|
inlineinherited |
Definition at line 154 of file VRGripScriptBase.h.
|
inlineinherited |
Definition at line 138 of file VRGripScriptBase.h.
|
inherited |
|
inheritedBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 289 of file VRGripScriptBase.cpp.
|
inlineoverrideinherited |
|
overridevirtualinherited |
Definition at line 85 of file VRGripScriptBase.cpp.
|
virtualinherited |
Definition at line 95 of file VRGripScriptBase.cpp.
|
overridevirtualinherited |
Definition at line 100 of file VRGripScriptBase.cpp.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
virtualinherited |
Reimplemented in UGS_GunTools, UGS_InteractibleSettings, and UGS_Melee.
Definition at line 27 of file VRGripScriptBase.cpp.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
virtualinherited |
Reimplemented in UGS_Melee.
Definition at line 26 of file VRGripScriptBase.cpp.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
overridevirtual |
Reimplemented from UVRGripScriptBase.
Definition at line 66 of file GS_Physics.cpp.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
overridevirtual |
Reimplemented from UVRGripScriptBase.
Definition at line 74 of file GS_Physics.cpp.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
virtualinherited |
Reimplemented in UGS_GunTools, and UGS_Melee.
Definition at line 32 of file VRGripScriptBase.cpp.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
virtualinherited |
Definition at line 33 of file VRGripScriptBase.cpp.
|
overridevirtualinherited |
|
inheritedBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "TickSettings")
Definition at line 118 of file VRGripScriptBase.cpp.
|
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
DeltaTime | - The time since the last tick. |
Reimplemented in UVRGripScriptBaseBP.
Definition at line 80 of file VRGripScriptBase.cpp.
void UGS_Physics::UpdateDualHandInfo | ( | UGripMotionControllerComponent * | GrippingController = nullptr, |
bool | bRecreate = true ) |
Definition at line 30 of file GS_Physics.cpp.
|
inlineinherited |
Definition at line 87 of file VRGripScriptBase.h.
|
inlineinherited |
Definition at line 124 of file VRGripScriptBase.h.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripScript")
|
virtualinherited |
Reimplemented in UGS_Melee.
Definition at line 41 of file VRGripScriptBase.cpp.
|
inlineinherited |
|
inheritedEditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "TickSettings")
Definition at line 202 of file VRGripScriptBase.h.
|
inherited |
Definition at line 295 of file VRGripScriptBase.h.
|
inheritedEditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "TickSettings")
Definition at line 194 of file VRGripScriptBase.h.
|
inheritedEditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 98 of file VRGripScriptBase.h.
|
inheritedEditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 135 of file VRGripScriptBase.h.
|
inheritedBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, Category = "GSSettings")
Definition at line 111 of file VRGripScriptBase.h.
|
inheritedEditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 165 of file VRGripScriptBase.h.
|
inheritedEditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 149 of file VRGripScriptBase.h.
|
inheritedEditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 73 of file VRGripScriptBase.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Physics Settings")
Definition at line 44 of file GS_Physics.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Physics Settings")
Definition at line 35 of file GS_Physics.h.
|
inheritedEditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 84 of file VRGripScriptBase.h.