v1.2.26 |
Documentation for the Unreal C++ Plugin
|
A blueprint class with 2 graphs. More...
#include "/PixoCore/Blueprints/Hands/BP_PixoVRHand"
Public Member Functions | |
void | DeactivateTouchCooldown () |
Deactivates the touch cooldown of the hand. | |
bool | DenyDropping () |
Deny dropping. If this is set to true the actor will not be dropped after releasing until set to false again. | |
bool | DenyGrippingPixoVR (UGripMotionControllerComponent *GrippingController) |
Deny gripping. If this is set to true the actor can't be gripped anymore until set the false again. | |
bool | DenyTriggerGripping () |
Deny gripping after triggering grip. | |
bool | DisablePhysicsOnDrop () |
Disable Physics on Drop. When this is set to 'true' if user drops object it will disable physics else it will use default. | |
void | GetOverlappingActor (FOverlappingInfo &OverlappingInfo) |
Gets the info of actor currently overlapping with the grab sphere. | |
TArray< FVector > | GetRelativePointsArray (USplineComponent *FingerSpline, float Precision) |
Retrieves an array of relative points along the finger spline. | |
void | GrabObject () |
Grabs the object currently overlapped by grab sphere. | |
void | GripMode (EPixoVRGripModeEnum &GripMode) |
Will be used to determine how to do the grabbing. Using normal attachment or a physics constraint. | |
void | GripTriggerMode (EPixoVRGripTriggerModeEnum &GripTriggerMode) |
Will be used to determine how the gripping trigger should behave. | |
void | GripTriggerTransform (UGripMotionControllerComponent *GrippingController, bool &UseCustomTransform, FTransform &CustomTransform) |
This specified transformation will be used when flag is set and a grip is happening. | |
void | InitPixoVRHands (EControllerHand MotionSource, APixoVRCharacter *Character) |
void | ManuallyPutActorToHand (AActor *ActorRef) |
Manually puts an actor into the hand. Hand will try to grab this actor. | |
void | OnGripObject (UGripMotionControllerComponent *GrippingController, AActor *GrippedActor) |
Will be called when user grabs an object. | |
void | OnGripObjectRelease (UGripMotionControllerComponent *ReleasingController, AActor *GrippedActor) |
Will be called when the user releases an object. | |
void | OnObjectOutOfRange (const FBPActorGripInformation &GripInformation, float Distance) |
Handling case when object physical constraint has been broken by range. | |
void | OnObjectPaused () |
This event runs when the user "pauses" this object. Pausing should turn off visibility and functionality of this object. | |
void | OnObjectUnPaused () |
This event runs when the user "unpauses" this object. Unpausing should turn on visibility and functionality of this object. | |
void | OnTouchWidget (UWidgetComponent *WidgetComponent, UWidgetComponent *PreviousWidgetComponent) |
Called when the hand touches a widget component. | |
void | OnTryGripObject (UGripMotionControllerComponent *GrippingController, AActor *GrippedActor) |
Will be called when user tried to grab the object. | |
void | ReleaseHeldObjectOnOtherHand (AActor *HeldActor) |
Releases the held object on the other hand. | |
void | ReleaseObject () |
Releases the currently held object. | |
void | SetupFingerTracePoints () |
Sets up the cache of relative points for finger tracing. This function should be called during initialization to precalculate the relative points along each finger spline. | |
void | SetWristMenuEnabled (bool Enabled) |
Enables or disables wrist menu. | |
virtual void | Tick (float DeltaTime) override |
void | ToggleLaser (bool Visible) |
Toggles the visibility of the laser. | |
float | TraceFingerForObstacle (TArray< FVector > RelativePointsArray) |
Traces the finger along the given array of relative points to check for obstacles. | |
void | UpdateFingerData () |
Updates the finger data by tracing each finger for obstacles and storing the normalized obstacle distances. This function should be when we trying to grip object. | |
Public Attributes | |
bool | ChangeHandAnimationNearInteractableObject = false |
UPROPERTY(EditDefaultsOnly, Category = "Animation") | |
FFingerData | FingerData |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Replicated, Category = "Animation") | |
USphereComponent * | GrabSphere |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components") | |
EGrippableTypeChecker | GrippableTypeChecker = EGrippableTypeChecker::Default |
Flag that indicated near which objects should we change animation. | |
UObject * | HandHoldingObject |
UPROPERTY(BlueprintReadOnly, Replicated, Category = "PixoVR") | |
USkeletalMeshComponent * | HandMesh |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components") | |
EControllerHand | HandMotionSource |
UPROPERTY(BlueprintReadWrite, Category = "Init", meta = (ExposeOnSpawn = "true")) | |
TArray< FVector > | IndexPositionCache |
USplineComponent * | IndexSpline |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
bool | InteractableObjectNearHand = false |
bool | IsObjectHighlightActive = false |
Show highlight if hand near object that we can grab. | |
bool | IsWristMenuEnabled = false |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
UStaticMeshComponent * | LaserMesh |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components") | |
USoundCue * | LaserSound |
UPROPERTY() | |
TArray< FVector > | MiddlePositionCache |
USplineComponent * | MiddleSpline |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
UGripMotionControllerComponent * | MotionController |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components") | |
AActor * | OverlapedActor = nullptr |
APixoVRCharacter * | OwningCharacter |
UPROPERTY(BlueprintReadWrite, Category = "Init") | |
TArray< FVector > | PinkyPositionCache |
USplineComponent * | PinkySpline |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
USplineComponent * | PoserSplineIndex |
Poser Spline Index. | |
USplineComponent * | PoserSplineMiddle |
Poser Spline Middle. | |
USplineComponent * | PoserSplinePinky |
Poser Spline Pinky. | |
USplineComponent * | PoserSplineRing |
Poser Spline Ring. | |
USplineComponent * | PoserSplineThumb |
Poser Spline Thumb. | |
TArray< FVector > | RingPositionCache |
USplineComponent * | RingSpline |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
USceneComponent * | Root |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components") | |
TArray< FVector > | ThumbPositionCache |
USplineComponent * | ThumbSpline |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
UWidgetInteractionComponent * | TouchComponent |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
bool | UseCustomAnimation = false |
UPROPERTY(BlueprintReadWrite, Category = "Animation") | |
UChildActorComponent * | WristMenu |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components") | |
Protected Member Functions | |
virtual void | BeginPlay () override |
Protected Attributes | |
bool | NewVar_0 |
New Var 0. | |
bool | TouchComponentCooldownActive |
Private Member Functions | |
void | EventGraph () |
GENERATED_BODY () | |
void | UserConstructionScript () |
A blueprint class with 2 graphs.
UDF Path: /PixoCore /Blueprints /Hands /BP_PixoVRHand
Config: Config/DefaultEngine.ini
Definition at line 12 of file ABP_PixoVRHand_C.h.
|
overrideprotectedvirtualinherited |
|
inheritedBlueprintCallable |
Deactivates the touch cooldown of the hand.
UFUNCTION(BlueprintCallable, Category = "TouchWidget")
Definition at line 180 of file PixoVRHand.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
Deny dropping. If this is set to true the actor will not be dropped after releasing until set to false again.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inheritedBlueprintNativeEventBlueprintCallable |
Deny gripping. If this is set to true the actor can't be gripped anymore until set the false again.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inheritedBlueprintNativeEventBlueprintCallable |
Deny gripping after triggering grip.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inheritedBlueprintNativeEventBlueprintCallable |
Disable Physics on Drop. When this is set to 'true' if user drops object it will disable physics else it will use default.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
privateBlueprint |
Definition at line 18 of file ABP_PixoVRHand_C.cpp.
|
privateinherited |
|
inherited |
Gets the info of actor currently overlapping with the grab sphere.
OverlappingInfo | The struct to store the overlapping information. |
Definition at line 466 of file PixoVRHand.cpp.
|
inheritedBlueprintCallable |
Retrieves an array of relative points along the finger spline.
FingerSpline | The spline component representing the finger. |
Precision | The number of points to generate along the spline. |
UFUNCTION(BlueprintCallable, Category = "Animation")
Definition at line 229 of file PixoVRHand.cpp.
|
inherited |
Grabs the object currently overlapped by grab sphere.
UFUNCTION()
Definition at line 96 of file PixoVRHand.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
Will be used to determine how to do the grabbing. Using normal attachment or a physics constraint.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inheritedBlueprintNativeEventBlueprintCallable |
Will be used to determine how the gripping trigger should behave.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inheritedBlueprintNativeEventBlueprintCallable |
This specified transformation will be used when flag is set and a grip is happening.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inherited |
|
inherited |
Manually puts an actor into the hand. Hand will try to grab this actor.
ActorRef | The actor to put into the hand. |
UFUNCTION()
Definition at line 153 of file PixoVRHand.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
Will be called when user grabs an object.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inheritedBlueprintNativeEventBlueprintCallable |
Will be called when the user releases an object.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inherited |
Handling case when object physical constraint has been broken by range.
GripInformation | Information about the grip for the held actor. |
Distance | Distance between hand and the object. |
UFUNCTION()
Definition at line 78 of file PixoVRHand.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
This event runs when the user "pauses" this object. Pausing should turn off visibility and functionality of this object.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inheritedBlueprintNativeEventBlueprintCallable |
This event runs when the user "unpauses" this object. Unpausing should turn on visibility and functionality of this object.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inheritedBlueprintCallable |
Called when the hand touches a widget component.
WidgetComponent | The widget component that was touched. |
PreviousWidgetComponent | The previously touched widget component. |
UFUNCTION(BlueprintCallable, Category = "TouchWidget")
Definition at line 169 of file PixoVRHand.cpp.
|
inheritedBlueprintNativeEventBlueprintCallable |
Will be called when user tried to grab the object.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Grip Interface")
|
inherited |
Releases the held object on the other hand.
HeldActor | The actor that is being held. |
UFUNCTION()
Definition at line 186 of file PixoVRHand.cpp.
|
inherited |
Releases the currently held object.
UFUNCTION()
Definition at line 137 of file PixoVRHand.cpp.
|
inheritedBlueprintCallable |
Sets up the cache of relative points for finger tracing. This function should be called during initialization to precalculate the relative points along each finger spline.
UFUNCTION(BlueprintCallable, Category = "Animation")
Definition at line 297 of file PixoVRHand.cpp.
|
inheritedBlueprintCallable |
Enables or disables wrist menu.
Enabled | Indicates whether the wrist menu should be enabled or not. |
UFUNCTION(BlueprintCallable, Category = "WristMenu")
Definition at line 326 of file PixoVRHand.cpp.
|
overridevirtualinherited |
|
inheritedBlueprintCallable |
Toggles the visibility of the laser.
Visible | Indicates whether the laser should be visible or not. |
UFUNCTION(BlueprintCallable)
Definition at line 222 of file PixoVRHand.cpp.
|
inheritedBlueprintCallable |
Traces the finger along the given array of relative points to check for obstacles.
RelativePointsArray | The array of relative points along the finger spline. |
UFUNCTION(BlueprintCallable, Category = "Animation")
Definition at line 253 of file PixoVRHand.cpp.
|
inheritedBlueprintCallable |
Updates the finger data by tracing each finger for obstacles and storing the normalized obstacle distances. This function should be when we trying to grip object.
UFUNCTION(BlueprintCallable, Category = "Animation")
Definition at line 307 of file PixoVRHand.cpp.
|
privateBlueprint |
Definition at line 13 of file ABP_PixoVRHand_C.cpp.
|
inheritedEditDefaultsOnly |
UPROPERTY(EditDefaultsOnly, Category = "Animation")
Definition at line 325 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteReplicatedEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Replicated, Category = "Animation")
Definition at line 304 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteVisibleAnywhere |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 124 of file PixoVRHand.h.
|
inheritedEditDefaultsOnly |
Flag that indicated near which objects should we change animation.
UPROPERTY(EditDefaultsOnly, Category = "Animation", meta = (EditCondition = "ChangeHandAnimationNearInteractableObject == true", EditConditionHides))
Definition at line 333 of file PixoVRHand.h.
|
inheritedReplicatedBlueprintReadOnly |
UPROPERTY(BlueprintReadOnly, Replicated, Category = "PixoVR")
Definition at line 250 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteVisibleAnywhere |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 130 of file PixoVRHand.h.
|
inheritedBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, Category = "Init", meta = (ExposeOnSpawn = "true"))
Definition at line 383 of file PixoVRHand.h.
|
inherited |
Definition at line 346 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 148 of file PixoVRHand.h.
|
inherited |
Definition at line 342 of file PixoVRHand.h.
|
inheritedEditDefaultsOnly |
Show highlight if hand near object that we can grab.
UPROPERTY(EditDefaultsOnly, Category = "Animation", meta = (EditCondition = "ChangeHandAnimationNearInteractableObject == true", EditConditionHides))
Definition at line 341 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 185 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteVisibleAnywhere |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 136 of file PixoVRHand.h.
|
inherited |
UPROPERTY()
Definition at line 264 of file PixoVRHand.h.
|
inherited |
Definition at line 347 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 154 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteVisibleAnywhere |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 118 of file PixoVRHand.h.
|
protected |
New Var 0.
Definition at line 22 of file ABP_PixoVRHand_C.h.
|
inherited |
Definition at line 343 of file PixoVRHand.h.
|
inheritedBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, Category = "Init")
Definition at line 389 of file PixoVRHand.h.
|
inherited |
Definition at line 349 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 166 of file PixoVRHand.h.
USplineComponent* ABP_PixoVRHand_C::PoserSplineIndex |
Poser Spline Index.
Definition at line 19 of file ABP_PixoVRHand_C.h.
USplineComponent* ABP_PixoVRHand_C::PoserSplineMiddle |
Poser Spline Middle.
Definition at line 18 of file ABP_PixoVRHand_C.h.
USplineComponent* ABP_PixoVRHand_C::PoserSplinePinky |
Poser Spline Pinky.
Definition at line 15 of file ABP_PixoVRHand_C.h.
USplineComponent* ABP_PixoVRHand_C::PoserSplineRing |
Poser Spline Ring.
Definition at line 16 of file ABP_PixoVRHand_C.h.
USplineComponent* ABP_PixoVRHand_C::PoserSplineThumb |
Poser Spline Thumb.
Definition at line 17 of file ABP_PixoVRHand_C.h.
|
inherited |
Definition at line 348 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 160 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteVisibleAnywhere |
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 112 of file PixoVRHand.h.
|
inherited |
Definition at line 345 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 142 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 172 of file PixoVRHand.h.
|
protectedinherited |
Definition at line 360 of file PixoVRHand.h.
|
inheritedBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, Category = "Animation")
Should we use custom animation instead advanced grab.
Definition at line 319 of file PixoVRHand.h.
|
inheritedBlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Definition at line 178 of file PixoVRHand.h.