A Demo Project for the UnrealEngineSDK
|
Base class for grippable story actors that can be interacted with hands. More...
#include <BaseGrippableStoryActor.h>
Public Member Functions | |
ABaseGrippableStoryActor () | |
void | ActivateHighlightOnActiveStep () |
Event called to activate the highlight on the active step. | |
FBPAdvGripSettings | AdvancedGripSettings () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual FBPAdvGripSettings | AdvancedGripSettings_Implementation () override |
Implementation of the AdvancedGripSettings function from the IVRGripInterface interface. Get the advanced physics settings for this grip. | |
bool | AllowsMultipleGrips () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual bool | AllowsMultipleGrips_Implementation () override |
Implementation of the AllowsMultipleGrips function from the IVRGripInterface interface. Check if an object allows multiple grips at one time. | |
void | AttachToHandObject (UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation) |
Attaches the object to a hand. | |
virtual void | BeginPlay () override |
void | CheckVelocity () |
Checking if this object has stopped. | |
void | ClosestGripSlotInRange (FVector WorldLocation, bool bSecondarySlot, bool &bHadSlotInRange, FTransform &SlotWorldTransform, FName &SlotName, UGripMotionControllerComponent *CallingController=nullptr, FName OverridePrefix=NAME_None) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual void | ClosestGripSlotInRange_Implementation (FVector WorldLocation, bool bSecondarySlot, bool &bHadSlotInRange, FTransform &SlotWorldTransform, FName &SlotName, UGripMotionControllerComponent *CallingController=nullptr, FName OverridePrefix=NAME_None) override |
Implementation of the ClosestGripSlotInRange function from the IVRGripInterface interface. Get closest primary slot in range. | |
bool | CouldBeGrabbedByOtherHand () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
bool | DenyDropping () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
bool | DenyGripping (UGripMotionControllerComponent *GripInitiator=nullptr) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface", meta = (DisplayName = "IsDenyingGrips")) | |
virtual bool | DenyGripping_Implementation (UGripMotionControllerComponent *GripInitiator=nullptr) override |
Implementation of the DenyGripping function from the IVRGripInterface interface. Set up as deny instead of allow so that default allows for gripping. | |
void | DetachObjectFromHand () |
Detaches the object from the hand. | |
TArray< FTransparentMaterialData > | GetActorTransparentMaterialData () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Fadable") | |
bool | GetGripScripts (TArray< UVRGripScriptBase * > &ArrayReference) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
void | GetGripStiffnessAndDamping (float &GripStiffnessOut, float &GripDampingOut) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual void | GetGripStiffnessAndDamping_Implementation (float &GripStiffnessOut, float &GripDampingOut) override |
Implementation of the GetGripStiffnessAndDamping function from the IVRGripInterface interface. What grip stiffness and damping to use if using a physics constraint. | |
EPixoVRGripState | GetObjectGripAnimation () |
Gets the grip animation state of the object. | |
EGripCollisionType | GetPrimaryGripType (bool bIsSlot) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual EGripCollisionType | GetPrimaryGripType_Implementation (bool bIsSlot) override |
Implementation of the GetPrimaryGripType function from the IVRGripInterface interface. Grip type to use. | |
float | GripBreakDistance () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual float | GripBreakDistance_Implementation () override |
Implementation of the GripBreakDistance function from the IVRGripInterface interface. What distance to break a grip at (only relevent with physics enabled grips). | |
EGripLateUpdateSettings | GripLateUpdateSetting () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual EGripLateUpdateSettings | GripLateUpdateSetting_Implementation () override |
Implementation of the GripLateUpdateSetting function from the IVRGripInterface interface. Define the late update setting. | |
EGripMovementReplicationSettings | GripMovementReplicationType () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual EGripMovementReplicationSettings | GripMovementReplicationType_Implementation () override |
Implementation of the GripMovementReplicationType function from the IVRGripInterface interface. Define which movement repliation setting to use. | |
bool | HoldItemByClick () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
void | IsHeld (TArray< FBPGripPair > &HoldingControllers, bool &bIsHeld) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual void | IsHeld_Implementation (TArray< FBPGripPair > &HoldingControllers, bool &bIsHeld) override |
Implementation of the IsHeld function from the IVRGripInterface interface. Returns if the object is held and if so, which controllers are holding it. | |
bool | IsObjectActive () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story") | |
virtual bool | IsObjectActive_Implementation () override |
Implementation of the IsObjectActive function from the IPixoVRStoryObject interface. | |
bool | IsUsingCustomGripAnimation () |
Checks if the object is using a custom grip animation. | |
virtual void | Native_NotifyThrowGripDelegates (UGripMotionControllerComponent *Controller, bool bGripped, const FBPActorGripInformation &GripInformation, bool bWasSocketed=false) |
void | ObjectActivated () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story") | |
virtual void | ObjectActivated_Implementation () override |
Implementation of the ObjectActivated function from the IPixoVRStoryObject interface. | |
void | ObjectDeactivated () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story") | |
virtual void | ObjectDeactivated_Implementation () override |
Implementation of the ObjectDeactivated function from the IPixoVRStoryObject interface. | |
void | OnChildGrip (UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface") | |
void | OnChildGripRelease (UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed=false) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface") | |
void | OnEndSecondaryUsed () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
void | OnEndUsed () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
void | OnGrip (UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface") | |
virtual void | OnGrip_Implementation (UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation) override |
Implementation of the OnGrip function from the IVRGripInterface interface. Event triggered on the interfaced object when gripped. | |
void | OnGrippedEvent (UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation) |
Event triggered when the object is gripped. | |
void | OnGripRelease (UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed=false) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface") | |
virtual void | OnGripRelease_Implementation (UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed) override |
Implementation of the OnGripRelease function from the IVRGripInterface interface. Event triggered on the interfaced object when grip is released. | |
void | OnHintActivated (bool Activate) |
Event called when a hint is activated. | |
void | OnInput (FKey Key, EInputEvent KeyEvent) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
void | OnReleasedEvent (UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed) |
Event triggered when the object is released from the grip. | |
void | OnSecondaryGrip (UGripMotionControllerComponent *GripOwningController, USceneComponent *SecondaryGripComponent, const FBPActorGripInformation &GripInformation) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface") | |
virtual void | OnSecondaryGrip_Implementation (UGripMotionControllerComponent *GripOwningController, USceneComponent *SecondaryGripComponent, const FBPActorGripInformation &GripInformation) override |
Implementation of the OnSecondaryGrip function from the IVRGripInterface interface. Event triggered on the interfaced object when secondary gripped. | |
void | OnSecondaryGripRelease (UGripMotionControllerComponent *GripOwningController, USceneComponent *ReleasingSecondaryGripComponent, const FBPActorGripInformation &GripInformation) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface") | |
virtual void | OnSecondaryGripRelease_Implementation (UGripMotionControllerComponent *GripOwningController, USceneComponent *ReleasingSecondaryGripComponent, const FBPActorGripInformation &GripInformation) override |
Implementation of the OnSecondaryGripRelease function from the IVRGripInterface interface. Event triggered on the interfaced object when secondary grip is released. | |
void | OnSecondaryUsed () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
void | OnUsed () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
bool | RequestsSocketing (USceneComponent *&ParentToSocketTo, FName &OptionalSocketName, FTransform_NetQuantize &RelativeTransform) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
void | ResetPosition () |
Resetting object to the position it has ben grabbed off. | |
ESecondaryGripType | SecondaryGripType () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual ESecondaryGripType | SecondaryGripType_Implementation () override |
Implementation of the SecondaryGripType function from the IVRGripInterface interface. Secondary grip type. | |
void | SetDenyDropping (const bool bDenyDropping) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
void | SetHeld (UGripMotionControllerComponent *HoldingController, uint8 GripID, bool bIsHeld) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface") | |
virtual void | SetHeld_Implementation (UGripMotionControllerComponent *HoldingController, uint8 GripID, bool bIsHeld) override |
Implementation of the SetHeld function from the IVRGripInterface interface. Sets is held, used by the plugin. | |
bool | SimulateOnDrop () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual bool | SimulateOnDrop_Implementation () override |
Implementation of the SimulateOnDrop function from the IVRGripInterface interface. Should this object simulate on drop. | |
void | StartVelocityCheckTimer () |
Stopping new velocity check timer. | |
void | StepSkipped (FStoryStep SkippedStep, bool IsForward) |
Event called when a step is skipped. | |
void | StopVelocityCheckTimer () |
Stopping the current velocity check timer. | |
EGripInterfaceTeleportBehavior | TeleportBehavior () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface") | |
virtual EGripInterfaceTeleportBehavior | TeleportBehavior_Implementation () override |
Implementation of the TeleportBehavior function from the IVRGripInterface interface. How an interfaced object behaves when teleporting. | |
void | TickGrip (UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation, float DeltaTime) |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface") | |
void | UpdateHandGripLogic (EHandGripLogic NewHandGripLogic) |
Updates the hand grip logic. | |
void | UpdateObjectHighlight (bool Activate) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Hint") | |
virtual void | UpdateObjectHighlight_Implementation (bool Activate) override |
Implementation of the UpdateObjectHighlight function from the IPixoVRStoryObject interface. | |
Public Attributes | |
bool | bActivateLocationResetAfterDrop { false } |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "GrippableObject") | |
bool | bCanResetPosition { true } |
UPROPERTY(BlueprintReadWrite, Category = "GrippableObject") | |
bool | bDisablePhysicsOnCustomTransformAttach { true } |
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "GrippableObject", meta=(EditCondition = "HandGripLogic == EHandGripLogic::AttachToHandWithCustomTransform", EditConditionHides)) | |
bool | bFeedbackEnabled |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect") | |
APixoVRHand * | CurrentHoldingHand |
UPROPERTY(VisibleInstanceOnly, BlueprintReadWrite, Category = "GrippableObject") | |
EHandGripLogic | HandGripLogic |
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "GrippableObject") | |
float | HapticDuration |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta=(EditCondition = "bFeedbackEnabled", EditConditionHides)) | |
float | HapticStrength |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta=(EditCondition = "bFeedbackEnabled", EditConditionHides)) | |
UHighlightComponent * | HighlightComponent |
UPROPERTY(EditAnywhere, BlueprintReadWrite) | |
UHintManager * | HintManager |
UPROPERTY(BlueprintReadWrite) | |
FTransform | ObjectTransformInLeftHand |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject") | |
FTransform | ObjectTransformInRightHand |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject") | |
FOnActorStopped | OnActorPositionResetDelegate |
UPROPERTY(BlueprintReadWrite, BlueprintCallable, BlueprintAssignable) | |
FOnActorStopped | OnActorStoppedDelegate |
UPROPERTY(BlueprintReadWrite, BlueprintCallable, BlueprintAssignable) | |
FVROnDropSignature | OnDropped |
UPROPERTY(BlueprintAssignable, Category = "Grip Events") | |
FVROnGripSignature | OnGripped |
UPROPERTY(BlueprintAssignable, Category = "Grip Events") | |
FVROnGripSignature | OnSecondaryGripAdded |
UPROPERTY(BlueprintAssignable, Category = "Grip Events") | |
FVROnGripSignature | OnSecondaryGripRemoved |
UPROPERTY(BlueprintAssignable, Category = "Grip Events") | |
FTransform | ResetTransform |
UPROPERTY(BlueprintReadOnly, Category = "GrippableObject") | |
UStaticMeshComponent * | StaticMeshComponent |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
UStoryComponent * | Story |
UPROPERTY(BlueprintReadWrite, EditAnywhere) | |
float | VelocityCheckRate { 0.1f } |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject") | |
FBPInterfaceProperties | VRGripInterfaceSettings |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRGripInterface") | |
Protected Member Functions | |
void | NewStepActivated (FStoryStep NewStep, bool IsForward) |
Callback function for when a new step is activated. | |
void | NewSubStepActivated (FStoryStep NewSubStep) |
Callback function for when a new substep is activated. | |
Private Member Functions | |
GENERATED_BODY () | |
GENERATED_IINTERFACE_BODY () | |
void | PlayHapticFeedbackEffect (UGripMotionControllerComponent *GripMotionControllerComponent) const |
Plays haptic feedback on specific controller. | |
Private Attributes | |
bool | bSaveResetTransformOnGrip { true } |
Flag for preventing this objet from saving ResetTransform. | |
FTimerHandle | VelocityCheckTimer |
Internal timer for checking object's velocity in a given time. | |
Base class for grippable story actors that can be interacted with hands.
UCLASS(Blueprintable)
Definition at line 38 of file BaseGrippableStoryActor.h.
ABaseGrippableStoryActor::ABaseGrippableStoryActor | ( | ) |
|
inheritedBlueprintNativeEvent |
Event called to activate the highlight on the active step.
UFUNCTION(BlueprintNativeEvent)
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the AdvancedGripSettings function from the IVRGripInterface interface. Get the advanced physics settings for this grip.
Definition at line 214 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the AllowsMultipleGrips function from the IVRGripInterface interface. Check if an object allows multiple grips at one time.
Definition at line 232 of file BaseGrippableStoryActor.cpp.
|
BlueprintCallable |
Attaches the object to a hand.
GrippingController | The motion controller component that is gripping the object. |
GripInformation | Information about the grip. |
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 263 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Reimplemented from ABaseStoryActor.
Definition at line 39 of file BaseGrippableStoryActor.cpp.
void ABaseGrippableStoryActor::CheckVelocity | ( | ) |
Checking if this object has stopped.
UFUNCTION()
Definition at line 66 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
Called to get the closest grip socket in range
WorldLocation | - World Location to check near |
bSecondarySlot | - True if this is a check for a secondary slot or not |
CallingController | - Controller checking for the slot (can be used in overrides for per hand checks) |
OverridePrefix | - A different substring to check against in the socket names to find relevant ones |
|
overridevirtual |
Implementation of the ClosestGripSlotInRange function from the IVRGripInterface interface. Get closest primary slot in range.
Definition at line 224 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintCallableBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Determines if user can grab object from one hand to another.
|
inheritedBlueprintCallableBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Determines if user can drop this object.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface", meta = (DisplayName = "IsDenyingGrips"))
|
overridevirtual |
Implementation of the DenyGripping function from the IVRGripInterface interface. Set up as deny instead of allow so that default allows for gripping.
GripInitiator | Is not guaranteed to be valid, check it for validity |
Definition at line 172 of file BaseGrippableStoryActor.cpp.
|
BlueprintCallable |
Detaches the object from the hand.
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 284 of file BaseGrippableStoryActor.cpp.
|
private |
|
privateinherited |
|
inheritedBlueprintCallableBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Fadable")
Gets data for fading actor.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the GetGripStiffnessAndDamping function from the IVRGripInterface interface. What grip stiffness and damping to use if using a physics constraint.
Definition at line 208 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintCallableBlueprintNativeEvent |
Gets the grip animation state of the object.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "GripResponseAnimationInterface")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the GetPrimaryGripType function from the IVRGripInterface interface. Grip type to use.
Definition at line 188 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the GripBreakDistance function from the IVRGripInterface interface. What distance to break a grip at (only relevent with physics enabled grips).
Definition at line 219 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the GripLateUpdateSetting function from the IVRGripInterface interface. Define the late update setting.
Definition at line 203 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the GripMovementReplicationType function from the IVRGripInterface interface. Define which movement repliation setting to use.
Definition at line 198 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintCallableBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Determines if you need to hold object by click or holding button.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the IsHeld function from the IVRGripInterface interface. Returns if the object is held and if so, which controllers are holding it.
Definition at line 151 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintCallableBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story")
Returns whether object has active step/substep for current step/substep.
|
overridevirtualinherited |
Implementation of the IsObjectActive function from the IPixoVRStoryObject interface.
Definition at line 16 of file BaseStoryActor.cpp.
|
inheritedBlueprintCallableBlueprintNativeEvent |
Checks if the object is using a custom grip animation.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "GripResponseAnimationInterface")
|
virtualinherited |
Reimplemented in AGrippableActor, UGrippableBoxComponent, UGrippableCapsuleComponent, AGrippableSkeletalMeshActor, UGrippableSkeletalMeshComponent, UGrippableSphereComponent, AGrippableStaticMeshActor, UGrippableStaticMeshComponent, UVRDialComponent, UVRLeverComponent, and UVRSliderComponent.
Definition at line 14 of file VRGripInterface.cpp.
|
protectedinherited |
Callback function for when a new step is activated.
NewStep | The newly activated step. |
IsForward | True if story moving forward, false if moving backward. |
UFUNCTION()
Definition at line 98 of file BaseStoryActor.cpp.
|
protectedinherited |
Callback function for when a new substep is activated.
NewSubStep | The newly activated substep. |
UFUNCTION()
Definition at line 115 of file BaseStoryActor.cpp.
|
inheritedBlueprintCallableBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story")
Called if object has active step/substep for current step/substep.
|
overridevirtual |
Implementation of the ObjectActivated function from the IPixoVRStoryObject interface.
Definition at line 80 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintCallableBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story")
Called if object does not have active step/substep for current step/substep.
|
overridevirtual |
Implementation of the ObjectDeactivated function from the IPixoVRStoryObject interface.
Reimplemented in ABaseGrippableStoryVolume.
Definition at line 86 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the OnGrip function from the IVRGripInterface interface. Event triggered on the interfaced object when gripped.
Definition at line 95 of file BaseGrippableStoryActor.cpp.
|
BlueprintImplementableEvent |
Event triggered when the object is gripped.
GrippingController | The motion controller component that is gripping the object. |
GripInformation | Information about the grip. |
UFUNCTION(BlueprintImplementableEvent, Category = "Grip Events")
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the OnGripRelease function from the IVRGripInterface interface. Event triggered on the interfaced object when grip is released.
Definition at line 127 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEvent |
Event called when a hint is activated.
Activate | True if the hint is being activated, false if it is being deactivated. |
UFUNCTION(BlueprintNativeEvent)
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
BlueprintImplementableEvent |
Event triggered when the object is released from the grip.
ReleasingController | The motion controller component that released the object. |
GripInformation | Information about the grip. |
bWasSocketed | Indicates if the object was socketed before release. |
UFUNCTION(BlueprintImplementableEvent, Category = "Grip Events")
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the OnSecondaryGrip function from the IVRGripInterface interface. Event triggered on the interfaced object when secondary gripped.
Definition at line 260 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the OnSecondaryGripRelease function from the IVRGripInterface interface. Event triggered on the interfaced object when secondary grip is released.
Definition at line 261 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
private |
Plays haptic feedback on specific controller.
GripMotionControllerComponent | The motion controller component that is gripping the object. |
Definition at line 315 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
BlueprintCallable |
Resetting object to the position it has ben grabbed off.
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 55 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the SecondaryGripType function from the IVRGripInterface interface. Secondary grip type.
Definition at line 193 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintCallableBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Update flag indicate whether if user can drop this object.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the SetHeld function from the IVRGripInterface interface. Sets is held, used by the plugin.
Definition at line 157 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the SimulateOnDrop function from the IVRGripInterface interface. Should this object simulate on drop.
Definition at line 183 of file BaseGrippableStoryActor.cpp.
|
BlueprintCallable |
Stopping new velocity check timer.
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 45 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEvent |
Event called when a step is skipped.
SkippedStep | The skipped step. |
IsForward | True if skipping story forward, false if skipping backward. |
UFUNCTION(BlueprintNativeEvent)
|
BlueprintCallable |
Stopping the current velocity check timer.
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 50 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VRGripInterface")
|
overridevirtual |
Implementation of the TeleportBehavior function from the IVRGripInterface interface. How an interfaced object behaves when teleporting.
Definition at line 178 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, Category = "VRGripInterface")
|
BlueprintCallable |
Updates the hand grip logic.
NewHandGripLogic | The new hand grip logic to set. |
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 237 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintCallableBlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Hint")
Called to update object highlight.
|
overridevirtual |
Implementation of the UpdateObjectHighlight function from the IPixoVRStoryObject interface.
Definition at line 300 of file BaseGrippableStoryActor.cpp.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "GrippableObject")
Determines if object position should be reset after drop.
Definition at line 295 of file BaseGrippableStoryActor.h.
|
BlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, Category = "GrippableObject")
Flag for preventing this object from resetting position even if ResetPosition is called.
Definition at line 301 of file BaseGrippableStoryActor.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "GrippableObject", meta=(EditCondition = "HandGripLogic == EHandGripLogic::AttachToHandWithCustomTransform", EditConditionHides))
Flag for disabling physics when object is attached with custom transform
Definition at line 242 of file BaseGrippableStoryActor.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect")
Set true if feedback effect should be played when this actor is gripped or released.
Definition at line 274 of file BaseGrippableStoryActor.h.
|
private |
Flag for preventing this objet from saving ResetTransform.
Definition at line 369 of file BaseGrippableStoryActor.h.
|
BlueprintReadWriteVisibleInstanceOnly |
UPROPERTY(VisibleInstanceOnly, BlueprintReadWrite, Category = "GrippableObject")
The currently holding hand reference.
Definition at line 248 of file BaseGrippableStoryActor.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "GrippableObject")
Logic for handling hand grip behavior.
Definition at line 236 of file BaseGrippableStoryActor.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta=(EditCondition = "bFeedbackEnabled", EditConditionHides))
Duration of haptic effect.
Definition at line 281 of file BaseGrippableStoryActor.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta=(EditCondition = "bFeedbackEnabled", EditConditionHides))
Strength of haptic effect.
Definition at line 288 of file BaseGrippableStoryActor.h.
|
inheritedEditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite)
Component responsible for highlighting the actor.
Definition at line 39 of file BaseStoryActor.h.
|
inheritedBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite)
Manager for handling hints related to the actor.
Definition at line 45 of file BaseStoryActor.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject")
The object's transform when held in the left hand.
Definition at line 254 of file BaseGrippableStoryActor.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject")
The object's transform when held in the right hand.
Definition at line 260 of file BaseGrippableStoryActor.h.
|
BlueprintAssignableBlueprintReadWriteBlueprintCallable |
UPROPERTY(BlueprintReadWrite, BlueprintCallable, BlueprintAssignable)
Delegate for actor position reset event.
Definition at line 330 of file BaseGrippableStoryActor.h.
|
BlueprintAssignableBlueprintReadWriteBlueprintCallable |
UPROPERTY(BlueprintReadWrite, BlueprintCallable, BlueprintAssignable)
Delegate for actor stopped event.
Definition at line 322 of file BaseGrippableStoryActor.h.
|
BlueprintAssignable |
UPROPERTY(BlueprintAssignable, Category = "Grip Events")
Called when a object is dropped
Definition at line 156 of file BaseGrippableStoryActor.h.
|
BlueprintAssignable |
UPROPERTY(BlueprintAssignable, Category = "Grip Events")
Called when a object is gripped
Definition at line 151 of file BaseGrippableStoryActor.h.
|
BlueprintAssignable |
UPROPERTY(BlueprintAssignable, Category = "Grip Events")
Called when an object we hold is secondary gripped
Definition at line 162 of file BaseGrippableStoryActor.h.
|
BlueprintAssignable |
UPROPERTY(BlueprintAssignable, Category = "Grip Events")
Called when an object we hold is secondary dropped
Definition at line 168 of file BaseGrippableStoryActor.h.
|
BlueprintReadOnly |
UPROPERTY(BlueprintReadOnly, Category = "GrippableObject")
Transform for resetting position after object drop.
Definition at line 307 of file BaseGrippableStoryActor.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 267 of file BaseGrippableStoryActor.h.
|
inheritedEditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere)
Component responsible for managing the story.
Definition at line 32 of file BaseStoryActor.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject")
Rate for velocity check timer.
Definition at line 314 of file BaseGrippableStoryActor.h.
|
private |
Internal timer for checking object's velocity in a given time.
Definition at line 371 of file BaseGrippableStoryActor.h.
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRGripInterface")
Settings for IVRGripInterface functions.
Definition at line 175 of file BaseGrippableStoryActor.h.