v1.2.26 |
Documentation for the Unreal C++ Plugin
|
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. | |
virtual FBPAdvGripSettings | AdvancedGripSettings_Implementation () override |
Implementation of the AdvancedGripSettings function from the IVRGripInterface interface. Get the advanced physics settings for this grip. | |
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 | CheckPositionResetConditions () |
Checking if this object's position can be reset. | |
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 | CouldBeGrabbedWithTwoHands () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
bool | DenyDropping () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
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. | |
void | EnableOnePressDetach (bool Enable) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
virtual void | EnableOnePressDetach_Implementation (bool Enable) override |
TArray< FTransparentMaterialData > | GetActorTransparentMaterialData () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Fadable") | |
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. | |
FTransform | GetObjectGrabTransform (APixoVRHand *GrabbedHand) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
virtual FTransform | GetObjectGrabTransform_Implementation (APixoVRHand *GrabbedHand) override |
Implementation of the GetObjectGrabTransform function from the IPixoVRStoryObject interface. Gets current world transform relative to selected hand for this object. | |
EPixoVRGripState | GetObjectGripAnimation () |
Gets the grip animation state of the object. | |
virtual EGripCollisionType | GetPrimaryGripType_Implementation (bool bIsSlot) override |
Implementation of the GetPrimaryGripType function from the IVRGripInterface interface. Grip type to use. | |
FTwoHandProperties | GetTwoHandProperties () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
void | GrabWithTwoHands (UMotionControllerComponent *GrabbingController) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
virtual void | GrabWithTwoHands_Implementation (UMotionControllerComponent *GrabbingController) override |
Two hand grabbing logic implementation. | |
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). | |
virtual EGripLateUpdateSettings | GripLateUpdateSetting_Implementation () override |
Implementation of the GripLateUpdateSetting function from the IVRGripInterface interface. Define the late update setting. | |
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") | |
bool | IsGrabbingWrongActorActive () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
virtual bool | IsGrabbingWrongActorActive_Implementation () override |
Implementation of the IsGrabbingWrongActorActive function from the IPixoVRStoryObject interface. Check if should send notification when the wrong interactable actor grabbed. | |
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 | IsObjectHeldWithTwoHands () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
virtual bool | IsObjectHeldWithTwoHands_Implementation () override |
bool | IsUsingCustomGripAnimation () |
Checks if the object is using a custom grip animation. | |
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. | |
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. | |
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 | OnReleasedEvent (UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed) |
Event triggered when the object is released from the grip. | |
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. | |
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. | |
bool | ReleaseItemByPress () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
void | ReleaseTwoHands (UMotionControllerComponent *ReleasingController) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
virtual void | ReleaseTwoHands_Implementation (UMotionControllerComponent *ReleasingController) override |
void | ResetPosition () |
Resetting object to the position it has ben grabbed off. | |
void | ResetTwoHandsHoldingFunctionality () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
virtual void | ResetTwoHandsHoldingFunctionality_Implementation () override |
virtual ESecondaryGripType | SecondaryGripType_Implementation () override |
Implementation of the SecondaryGripType function from the IVRGripInterface interface. Secondary grip type. | |
void | SendWrongGrabbingNotification () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
virtual void | SendWrongGrabbingNotification_Implementation () override |
Implementation of the SendErrorGrabbingNotification function from the IPixoVRStoryObject interface. Send error grabbing notification when the wrong interactable actor is grabbed. | |
void | SetDenyDropping (const bool bDenyDropping) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
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. | |
virtual bool | SimulateOnDrop_Implementation () override |
Implementation of the SimulateOnDrop function from the IVRGripInterface interface. Should this object simulate on drop. | |
void | StartPositionResetTimer () |
Stopping new position reset check timer. | |
void | StepSkipped (FStoryStep SkippedStep, bool IsForward) |
Event called when a step is skipped. | |
void | StopPositionResetTimer () |
Stopping the current position reset check timer. | |
virtual EGripInterfaceTeleportBehavior | TeleportBehavior_Implementation () override |
Implementation of the TeleportBehavior function from the IVRGripInterface interface. How an interfaced object behaves when teleporting. | |
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 | ActiveStepsAcquiredFromParent = false |
bool | bActivateLocationResetAfterDrop { false } |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "GrippableObject") | |
bool | bCanResetPosition { true } |
UPROPERTY(BlueprintReadWrite, Category = "GrippableObject") | |
bool | bDestroyActorAfterFailedDrop { false } |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "GrippableObject") | |
bool | bFeedbackEnabled |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect") | |
bool | bGripSoundsEnabled |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect") | |
bool | bReleaseSoundsEnabled |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect") | |
TArray< TSubclassOf< ABaseStoryActor > > | ChildClassesThatAcquiredPopulatedData |
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "BaseStoryActor|DynamicStory", meta = (EditCondition = "IsAutoStepDataPopulationActive == true", EditConditionHides)) | |
APixoVRHand * | CurrentHoldingHand |
UPROPERTY(VisibleInstanceOnly, BlueprintReadWrite, Category = "GrippableObject") | |
USoundCue * | GripSoundCue |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta = (EditCondition = "bGripSoundsEnabled", EditConditionHides)) | |
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) | |
bool | IsAutoStepDataPopulationActive = false |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "BaseStoryActor|DynamicStory") | |
bool | ObjectHeldWithTwoHands = false |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Two Hands Grip") | |
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") | |
FOnDroppedActorDeleted | OnDroppedActorDeleted |
UPROPERTY(BlueprintReadWrite, BlueprintCallable, BlueprintAssignable) | |
FVROnGripSignature | OnGripped |
UPROPERTY(BlueprintAssignable, Category = "Grip Events") | |
FVROnGripSignature | OnSecondaryGripAdded |
UPROPERTY(BlueprintAssignable, Category = "Grip Events") | |
FVROnGripSignature | OnSecondaryGripRemoved |
UPROPERTY(BlueprintAssignable, Category = "Grip Events") | |
float | PositionResetCheckRate { 0.1f } |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject") | |
float | PositionResetMaximumDelay { 5.0f } |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject") | |
USoundCue * | ReleaseSoundCue |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta = (EditCondition = "bReleaseSoundsEnabled", EditConditionHides)) | |
FTransform | ResetTransform |
UPROPERTY(BlueprintReadOnly, Category = "GrippableObject") | |
UStaticMeshComponent * | StaticMeshComponent |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
UStoryComponent * | Story |
UPROPERTY(BlueprintReadWrite, EditAnywhere) | |
bool | StoryActivationAffectsDenyGripping { true } |
UPROPERTY(BlueprintReadWrite, EditAnywhere, 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 () | |
void | HandCrossDetection (float CurrentPitch, float RightLeftHandVPitch) |
void | PlayGripSound () const |
void | PlayHapticFeedbackEffect (UGripMotionControllerComponent *GripMotionControllerComponent) const |
Plays haptic feedback on specific controller. | |
void | PlayReleaseSound () const |
void | TwoHandGrab () |
Private Attributes | |
bool | bSaveResetTransformOnGrip { true } |
Flag for preventing this objet from saving ResetTransform. | |
bool | CrossChanged |
bool | CrossDetected |
bool | EnableOnePressDetach |
float | MoveBackPitchDelta = 0 |
float | PitchBeforeCross = 0 |
TWeakObjectPtr< APixoVRHand > | PixoVRHandLeft |
TWeakObjectPtr< APixoVRHand > | PixoVRHandRight |
FTimerHandle | PositionResetTimer |
Internal timer for checking object's conditions for position reset. | |
float | ResultedPitch = 0 |
float | TimeSinceResetTimerStarted { 0.0f } |
Time that accumulates after PositionResetTimer has started. | |
TWeakObjectPtr< UMotionControllerComponent > | TwoHandMainGrabController |
FTimerHandle | TwoHandTimer |
float | TwoHandZAxisValue = 0.0 |
Base class for grippable story actors that can be interacted with hands.
UCLASS(Blueprintable)
Definition at line 41 of file BaseGrippableStoryActor.h.
ABaseGrippableStoryActor::ABaseGrippableStoryActor | ( | ) |
Definition at line 11 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEvent |
Event called to activate the highlight on the active step.
UFUNCTION(BlueprintNativeEvent)
|
overridevirtual |
Implementation of the AdvancedGripSettings function from the IVRGripInterface interface. Get the advanced physics settings for this grip.
Definition at line 274 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Implementation of the AllowsMultipleGrips function from the IVRGripInterface interface. Check if an object allows multiple grips at one time.
Definition at line 292 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 329 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Reimplemented from ABaseStoryActor.
Definition at line 44 of file BaseGrippableStoryActor.cpp.
void ABaseGrippableStoryActor::CheckPositionResetConditions | ( | ) |
Checking if this object's position can be reset.
UFUNCTION()
Definition at line 82 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Implementation of the ClosestGripSlotInRange function from the IVRGripInterface interface. Get closest primary slot in range.
Definition at line 284 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Determines if user can grab object from one hand to another.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Determines if user can drop this object.
|
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 232 of file BaseGrippableStoryActor.cpp.
|
BlueprintCallable |
Detaches the object from the hand.
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 348 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
overridevirtual |
Definition at line 489 of file BaseGrippableStoryActor.cpp.
|
private |
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Fadable")
Gets data for fading actor.
|
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 268 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Gets current world transform relative to selected hand for this object.
|
overridevirtual |
Implementation of the GetObjectGrabTransform function from the IPixoVRStoryObject interface. Gets current world transform relative to selected hand for this object.
Definition at line 111 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
Gets the grip animation state of the object.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "GripResponseAnimationInterface")
|
overridevirtual |
Implementation of the GetPrimaryGripType function from the IVRGripInterface interface. Grip type to use.
Definition at line 248 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
overridevirtual |
Two hand grabbing logic implementation.
Definition at line 364 of file BaseGrippableStoryActor.cpp.
|
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 279 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Implementation of the GripLateUpdateSetting function from the IVRGripInterface interface. Define the late update setting.
Definition at line 263 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Implementation of the GripMovementReplicationType function from the IVRGripInterface interface. Define which movement repliation setting to use.
Definition at line 258 of file BaseGrippableStoryActor.cpp.
|
private |
Definition at line 609 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Determines if you need to hold object by click or holding button.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Determines if should send notification when the wrong interactable actor grabbed.
|
overridevirtual |
Implementation of the IsGrabbingWrongActorActive function from the IPixoVRStoryObject interface. Check if should send notification when the wrong interactable actor grabbed.
Definition at line 98 of file BaseGrippableStoryActor.cpp.
|
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 211 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
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.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
overridevirtual |
Definition at line 466 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
Checks if the object is using a custom grip animation.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "GripResponseAnimationInterface")
|
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.
|
inheritedBlueprintNativeEventBlueprintCallable |
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 127 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
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 137 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Implementation of the OnGrip function from the IVRGripInterface interface. Event triggered on the interfaced object when gripped.
Definition at line 150 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")
|
overridevirtual |
Implementation of the OnGripRelease function from the IVRGripInterface interface. Event triggered on the interfaced object when grip is released.
Definition at line 184 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)
|
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")
|
overridevirtual |
Implementation of the OnSecondaryGrip function from the IVRGripInterface interface. Event triggered on the interfaced object when secondary gripped.
Definition at line 326 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Implementation of the OnSecondaryGripRelease function from the IVRGripInterface interface. Event triggered on the interfaced object when secondary grip is released.
Definition at line 327 of file BaseGrippableStoryActor.cpp.
|
private |
Definition at line 525 of file BaseGrippableStoryActor.cpp.
|
private |
Plays haptic feedback on specific controller.
GripMotionControllerComponent | The motion controller component that is gripping the object. |
Definition at line 509 of file BaseGrippableStoryActor.cpp.
|
private |
Definition at line 533 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Determines if you need to release object by press button.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
overridevirtual |
Definition at line 405 of file BaseGrippableStoryActor.cpp.
|
BlueprintCallable |
Resetting object to the position it has ben grabbed off.
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 61 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
overridevirtual |
Definition at line 471 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Implementation of the SecondaryGripType function from the IVRGripInterface interface. Secondary grip type.
Definition at line 253 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Called to send wrong grabbing notification.
|
overridevirtual |
Implementation of the SendErrorGrabbingNotification function from the IPixoVRStoryObject interface. Send error grabbing notification when the wrong interactable actor is grabbed.
Definition at line 103 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Update flag indicate whether if user can drop this object.
|
overridevirtual |
Implementation of the SetHeld function from the IVRGripInterface interface. Sets is held, used by the plugin.
Definition at line 217 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Implementation of the SimulateOnDrop function from the IVRGripInterface interface. Should this object simulate on drop.
Definition at line 243 of file BaseGrippableStoryActor.cpp.
|
BlueprintCallable |
Stopping new position reset check timer.
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 50 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 position reset check timer.
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 56 of file BaseGrippableStoryActor.cpp.
|
overridevirtual |
Implementation of the TeleportBehavior function from the IVRGripInterface interface. How an interfaced object behaves when teleporting.
Definition at line 238 of file BaseGrippableStoryActor.cpp.
|
private |
Definition at line 541 of file BaseGrippableStoryActor.cpp.
|
BlueprintCallable |
Updates the hand grip logic.
NewHandGripLogic | The new hand grip logic to set. |
UFUNCTION(BlueprintCallable, Category = "GrippableObject")
Definition at line 297 of file BaseGrippableStoryActor.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Hint")
Called to update object highlight.
|
overridevirtual |
Implementation of the UpdateObjectHighlight function from the IPixoVRStoryObject interface.
Definition at line 494 of file BaseGrippableStoryActor.cpp.
|
inherited |
Definition at line 61 of file BaseStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "GrippableObject")
Determines if object position should be reset after drop.
Definition at line 358 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 364 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "GrippableObject")
Determines whether to destroy the actor on failure drop
Definition at line 371 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect")
Set true if feedback effect should be played when this actor is gripped or released.
Definition at line 330 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect")
Set true if sound effects should be played when this actor is gripped.
Definition at line 302 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect")
Set true if sound effects should be played when this actor is released.
Definition at line 316 of file BaseGrippableStoryActor.h.
|
private |
Flag for preventing this objet from saving ResetTransform.
Definition at line 454 of file BaseGrippableStoryActor.h.
|
inheritedBlueprintReadWriteEditDefaultsOnly |
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "BaseStoryActor|DynamicStory", meta = (EditCondition = "IsAutoStepDataPopulationActive == true", EditConditionHides))
Definition at line 59 of file BaseStoryActor.h.
|
private |
Definition at line 473 of file BaseGrippableStoryActor.h.
|
private |
Definition at line 472 of file BaseGrippableStoryActor.h.
|
VisibleInstanceOnlyBlueprintReadWrite |
UPROPERTY(VisibleInstanceOnly, BlueprintReadWrite, Category = "GrippableObject")
The currently holding hand reference.
Definition at line 276 of file BaseGrippableStoryActor.h.
|
private |
Definition at line 482 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta = (EditCondition = "bGripSoundsEnabled", EditConditionHides))
Definition at line 309 of file BaseGrippableStoryActor.h.
|
EditDefaultsOnlyBlueprintReadWrite |
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "GrippableObject")
Logic for handling hand grip behavior.
Definition at line 270 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta=(EditCondition = "bFeedbackEnabled", EditConditionHides))
Duration of haptic effect.
Definition at line 337 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta=(EditCondition = "bFeedbackEnabled", EditConditionHides))
Strength of haptic effect.
Definition at line 344 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.
|
inheritedEditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "BaseStoryActor|DynamicStory")
New BaseStoryActor will receive StorySteps from InteractiveObjectStoryStep data base.
Definition at line 52 of file BaseStoryActor.h.
|
private |
Definition at line 475 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Two Hands Grip")
Definition at line 263 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject")
The object's transform when held in the left hand.
Definition at line 282 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject")
The object's transform when held in the right hand.
Definition at line 288 of file BaseGrippableStoryActor.h.
|
BlueprintCallableBlueprintReadWriteBlueprintAssignable |
UPROPERTY(BlueprintReadWrite, BlueprintCallable, BlueprintAssignable)
Delegate for actor position reset event.
Definition at line 407 of file BaseGrippableStoryActor.h.
|
BlueprintCallableBlueprintReadWriteBlueprintAssignable |
UPROPERTY(BlueprintReadWrite, BlueprintCallable, BlueprintAssignable)
Delegate for actor stopped event.
Definition at line 399 of file BaseGrippableStoryActor.h.
|
BlueprintAssignable |
UPROPERTY(BlueprintAssignable, Category = "Grip Events")
Called when a object is dropped
Definition at line 174 of file BaseGrippableStoryActor.h.
|
BlueprintCallableBlueprintReadWriteBlueprintAssignable |
UPROPERTY(BlueprintReadWrite, BlueprintCallable, BlueprintAssignable)
Delegate for dropped actor.
Definition at line 415 of file BaseGrippableStoryActor.h.
|
BlueprintAssignable |
UPROPERTY(BlueprintAssignable, Category = "Grip Events")
Called when a object is gripped
Definition at line 169 of file BaseGrippableStoryActor.h.
|
BlueprintAssignable |
UPROPERTY(BlueprintAssignable, Category = "Grip Events")
Called when an object we hold is secondary gripped
Definition at line 180 of file BaseGrippableStoryActor.h.
|
BlueprintAssignable |
UPROPERTY(BlueprintAssignable, Category = "Grip Events")
Called when an object we hold is secondary dropped
Definition at line 186 of file BaseGrippableStoryActor.h.
|
private |
Definition at line 474 of file BaseGrippableStoryActor.h.
|
private |
Definition at line 477 of file BaseGrippableStoryActor.h.
|
private |
Definition at line 478 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject")
Rate for position reset check timer.
Definition at line 384 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "GrippableObject")
Maximum delay after which position of the item will be reset.
Definition at line 391 of file BaseGrippableStoryActor.h.
|
private |
Internal timer for checking object's conditions for position reset.
Definition at line 458 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Feedback Effect", meta = (EditCondition = "bReleaseSoundsEnabled", EditConditionHides))
Definition at line 323 of file BaseGrippableStoryActor.h.
|
BlueprintReadOnly |
UPROPERTY(BlueprintReadOnly, Category = "GrippableObject")
Transform for resetting position after object drop.
Definition at line 377 of file BaseGrippableStoryActor.h.
|
private |
Definition at line 476 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 295 of file BaseGrippableStoryActor.h.
|
inheritedEditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere)
Component responsible for managing the story.
Definition at line 32 of file BaseStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "GrippableObject")
Determines if object's story activation and deactivation can affect bDenyGripping variable.
Definition at line 351 of file BaseGrippableStoryActor.h.
|
private |
Time that accumulates after PositionResetTimer has started.
Definition at line 456 of file BaseGrippableStoryActor.h.
|
private |
Definition at line 481 of file BaseGrippableStoryActor.h.
|
private |
Definition at line 480 of file BaseGrippableStoryActor.h.
|
private |
Definition at line 479 of file BaseGrippableStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRGripInterface")
Settings for IVRGripInterface functions.
Definition at line 193 of file BaseGrippableStoryActor.h.