v1.2.26 |
Documentation for the Unreal C++ Plugin
|
Base class for story actors. More...
#include <BaseStoryActor.h>
Public Member Functions | |
ABaseStoryActor () | |
void | ActivateHighlightOnActiveStep () |
Event called to activate the highlight on the active step. | |
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") | |
void | EnableOnePressDetach (bool Enable) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
TArray< FTransparentMaterialData > | GetActorTransparentMaterialData () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Fadable") | |
FTransform | GetObjectGrabTransform (APixoVRHand *GrabbedHand) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
FTwoHandProperties | GetTwoHandProperties () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
void | GrabWithTwoHands (UMotionControllerComponent *GrabbingController) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
bool | HoldItemByClick () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
bool | IsGrabbingWrongActorActive () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
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") | |
void | ObjectActivated () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story") | |
void | ObjectDeactivated () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story") | |
void | OnHintActivated (bool Activate) |
Event called when a hint is activated. | |
bool | ReleaseItemByPress () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
void | ReleaseTwoHands (UMotionControllerComponent *ReleasingController) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
void | ResetTwoHandsHoldingFunctionality () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands") | |
void | SendWrongGrabbingNotification () |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
void | SetDenyDropping (const bool bDenyDropping) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior") | |
void | StepSkipped (FStoryStep SkippedStep, bool IsForward) |
Event called when a step is skipped. | |
void | UpdateObjectHighlight (bool Activate) |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Hint") | |
Public Attributes | |
bool | ActiveStepsAcquiredFromParent = false |
TArray< TSubclassOf< ABaseStoryActor > > | ChildClassesThatAcquiredPopulatedData |
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "BaseStoryActor|DynamicStory", meta = (EditCondition = "IsAutoStepDataPopulationActive == true", EditConditionHides)) | |
UHighlightComponent * | HighlightComponent |
UPROPERTY(EditAnywhere, BlueprintReadWrite) | |
UHintManager * | HintManager |
UPROPERTY(BlueprintReadWrite) | |
bool | IsAutoStepDataPopulationActive = false |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "BaseStoryActor|DynamicStory") | |
UStoryComponent * | Story |
UPROPERTY(BlueprintReadWrite, EditAnywhere) | |
Protected Member Functions | |
virtual void | BeginPlay () override |
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 () | |
ABaseStoryActor::ABaseStoryActor | ( | ) |
Definition at line 7 of file BaseStoryActor.cpp.
|
BlueprintNativeEvent |
Event called to activate the highlight on the active step.
UFUNCTION(BlueprintNativeEvent)
|
overrideprotectedvirtual |
Reimplemented in ABaseGrippableStoryActor.
Definition at line 68 of file BaseStoryActor.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.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
private |
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Fadable")
Gets data for fading actor.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Gets current world transform relative to selected hand for this object.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
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.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story")
Returns whether object has active step/substep for current step/substep.
|
overridevirtual |
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")
|
protected |
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.
|
protected |
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.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Story")
Called if object does not have active step/substep for current step/substep.
|
BlueprintNativeEvent |
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 = "Grip Behavior")
Determines if you need to release object by press button.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior|Two Hands")
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Called to send wrong grabbing notification.
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Grip Behavior")
Update flag indicate whether if user can drop this object.
|
BlueprintNativeEvent |
Event called when a step is skipped.
SkippedStep | The skipped step. |
IsForward | True if skipping story forward, false if skipping backward. |
UFUNCTION(BlueprintNativeEvent)
|
inheritedBlueprintNativeEventBlueprintCallable |
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Hint")
Called to update object highlight.
bool ABaseStoryActor::ActiveStepsAcquiredFromParent = false |
Definition at line 61 of file BaseStoryActor.h.
|
BlueprintReadWriteEditDefaultsOnly |
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "BaseStoryActor|DynamicStory", meta = (EditCondition = "IsAutoStepDataPopulationActive == true", EditConditionHides))
Definition at line 59 of file BaseStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite)
Component responsible for highlighting the actor.
Definition at line 39 of file BaseStoryActor.h.
|
BlueprintReadWrite |
UPROPERTY(BlueprintReadWrite)
Manager for handling hints related to the actor.
Definition at line 45 of file BaseStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "BaseStoryActor|DynamicStory")
New BaseStoryActor will receive StorySteps from InteractiveObjectStoryStep data base.
Definition at line 52 of file BaseStoryActor.h.
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere)
Component responsible for managing the story.
Definition at line 32 of file BaseStoryActor.h.