A Demo Project for the UnrealEngineSDK
|
UCLASS(NotBlueprintable, BlueprintType, EditInlineNew, DefaultToInstanced, Abstract, ClassGroup = (VRExpansionPlugin), HideCategories = DefaultSettings) More...
#include <VRGripScriptBase.h>
Public Member Functions | |
UVRGripScriptBase (const FObjectInitializer &ObjectInitializer) | |
void | BeginPlay (UObject *CallingOwner) |
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 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 *OwningController, float DeltaTime, FTransform &WorldTransform, const FTransform &ParentTransform, FBPActorGripInformation &Grip, AActor *actor, UPrimitiveComponent *root, bool bRootHasInterface, bool bActorHasInterface, bool bIsForTeleport) |
EGSTransformOverrideType | GetWorldTransformOverrideType () |
virtual void | HandlePostPhysicsHandle (UGripMotionControllerComponent *GrippingController, FBPActorPhysicsHandleInformation *HandleInfo) |
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) |
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) |
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 |
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") | |
EGSTransformOverrideType | WorldTransformOverrideType |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings") | |
Private Member Functions | |
GENERATED_BODY () | |
UCLASS(NotBlueprintable, BlueprintType, EditInlineNew, DefaultToInstanced, Abstract, ClassGroup = (VRExpansionPlugin), HideCategories = DefaultSettings)
Definition at line 43 of file VRGripScriptBase.h.
UVRGripScriptBase::UVRGripScriptBase | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 10 of file VRGripScriptBase.cpp.
void UVRGripScriptBase::BeginPlay | ( | UObject * | CallingOwner | ) |
Definition at line 321 of file VRGripScriptBase.cpp.
|
inlinevirtual |
Reimplemented in UVRGripScriptBaseBP.
Definition at line 350 of file VRGripScriptBase.h.
|
overridevirtual |
void UVRGripScriptBase::EndPlay | ( | const EEndPlayReason::Type | EndPlayReason | ) |
|
inlineBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRGripScript")
Definition at line 118 of file VRGripScriptBase.h.
|
private |
|
overridevirtual |
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRGripScript|Functions", meta = (WorldContext = "WorldContextObject", bIgnoreSelf = "true", DisplayName = "GetGripScriptByClass", ExpandEnumAsExecs = "Result"))
Definition at line 45 of file VRGripScriptBase.cpp.
|
BlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 192 of file VRGripScriptBase.cpp.
|
overridevirtual |
Definition at line 67 of file VRGripScriptBase.cpp.
|
BlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 260 of file VRGripScriptBase.cpp.
|
BlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 255 of file VRGripScriptBase.cpp.
FBodyInstance * UVRGripScriptBase::GetParentBodyInstance | ( | FName | OptionalBoneName = NAME_None | ) |
Definition at line 236 of file VRGripScriptBase.cpp.
|
BlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRGripScript")
Definition at line 197 of file VRGripScriptBase.cpp.
|
BlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 213 of file VRGripScriptBase.cpp.
|
overridevirtual |
Definition at line 113 of file VRGripScriptBase.cpp.
|
overridevirtual |
|
virtual |
Definition at line 105 of file VRGripScriptBase.cpp.
|
overridevirtual |
|
BlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
virtual |
Reimplemented in UGS_Default, UGS_GunTools, UGS_InteractibleSettings, UGS_Melee, and UGS_LerpToHand.
Definition at line 29 of file VRGripScriptBase.cpp.
EGSTransformOverrideType UVRGripScriptBase::GetWorldTransformOverrideType | ( | ) |
Definition at line 36 of file VRGripScriptBase.cpp.
|
virtual |
Reimplemented in UGS_Melee, and UGS_Physics.
Definition at line 43 of file VRGripScriptBase.cpp.
|
virtual |
Reimplemented in UGS_GunTools, and UGS_Melee.
Definition at line 42 of file VRGripScriptBase.cpp.
|
BlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 279 of file VRGripScriptBase.cpp.
|
inline |
Definition at line 154 of file VRGripScriptBase.h.
|
inline |
Definition at line 138 of file VRGripScriptBase.h.
bool UVRGripScriptBase::IsScriptActive | ( | ) |
|
BlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRGripScript")
Definition at line 289 of file VRGripScriptBase.cpp.
|
inlineoverride |
|
overridevirtual |
Definition at line 85 of file VRGripScriptBase.cpp.
|
virtual |
Definition at line 95 of file VRGripScriptBase.cpp.
|
overridevirtual |
Definition at line 100 of file VRGripScriptBase.cpp.
|
BlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
virtual |
Reimplemented in UGS_GunTools, UGS_InteractibleSettings, and UGS_Melee.
Definition at line 27 of file VRGripScriptBase.cpp.
|
BlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
virtual |
Reimplemented in UGS_Melee.
Definition at line 26 of file VRGripScriptBase.cpp.
|
BlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
virtual |
Reimplemented in UGS_GunTools, UGS_InteractibleSettings, UGS_LerpToHand, UGS_Melee, and UGS_Physics.
Definition at line 30 of file VRGripScriptBase.cpp.
|
BlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripScript")
|
virtual |
Reimplemented in UGS_LerpToHand, UGS_InteractibleSettings, UGS_Melee, and UGS_Physics.
Definition at line 31 of file VRGripScriptBase.cpp.
|
BlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
virtual |
Reimplemented in UGS_GunTools, and UGS_Melee.
Definition at line 32 of file VRGripScriptBase.cpp.
|
BlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
virtual |
Definition at line 33 of file VRGripScriptBase.cpp.
|
overridevirtual |
|
BlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "TickSettings")
Definition at line 118 of file VRGripScriptBase.cpp.
|
overridevirtual |
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.
|
inline |
Definition at line 87 of file VRGripScriptBase.h.
|
inline |
Definition at line 124 of file VRGripScriptBase.h.
|
BlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripScript")
|
virtual |
Reimplemented in UGS_Melee.
Definition at line 41 of file VRGripScriptBase.cpp.
|
inline |
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "TickSettings")
Definition at line 202 of file VRGripScriptBase.h.
bool UVRGripScriptBase::bAlreadyNotifiedPlay = false |
Definition at line 295 of file VRGripScriptBase.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "TickSettings")
Definition at line 194 of file VRGripScriptBase.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 98 of file VRGripScriptBase.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 135 of file VRGripScriptBase.h.
|
BlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, Category = "GSSettings")
Definition at line 111 of file VRGripScriptBase.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 165 of file VRGripScriptBase.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 149 of file VRGripScriptBase.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 73 of file VRGripScriptBase.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
Definition at line 84 of file VRGripScriptBase.h.