|
| virtual bool | IsCompatible (EControlType InputType) const override |
| | UVirtualInputEvent () |
| BlueprintNativeEvent void | Initialize () |
| BlueprintNativeEvent void | Deinitialize () |
| bool | ShouldTick () const |
| void | SetButtonName (const FName Name) |
| void | SetOuter (UWorld *Outer) |
| void | AssignLocalPlayer (ULocalPlayer *Player, TSharedPtr< SVirtualControl > Widget) |
| BlueprintNativeEvent void | OnTouchBegin (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime) |
| BlueprintNativeEvent void | OnTouchMove (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration) |
| BlueprintNativeEvent void | OnTouchEnd (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration) |
| BlueprintNativeEvent void | OnTick (const FGeometry &Geometry, const double CurrentTime, const float DeltaTime) |
| BlueprintPure APawn * | GetPawn () |
| BlueprintPure APlayerController * | GetPlayerController () |
| BlueprintPure FName | GetButtonName () |
| BlueprintPure void | GetVisualLayers (TArray< FVisualLayer > &VisualLayers) |
| BlueprintPure TArray< FVisualLayer > & | GetVisualLayersRef () |
| BlueprintPure bool | GetVisualLayerByName (const FName Name, FVisualLayer &VisualLayer) |
| BlueprintPure FVisualLayer & | GetVisualLayerRefByName (const FName Name) |
| BlueprintCallable void | SetVisualLayers (TArray< FVisualLayer > VisualLayers) |
| BlueprintCallable void | SetVisualLayer (const FVisualLayer &VisualLayer, const FName Name=NAME_None) |
| BlueprintCallable FName | AddNewLayer (FName LayerName, FVisualLayer Visual) |
| BlueprintCallable FName | InsertLayerAt (FName LayerName, const int32 Index, FVisualLayer Visual) |
| BlueprintCallable void | RemoveLayer (const FName LayerName) |
| BlueprintPure bool | GetVirtualInput (FVirtualControl &VirtualInput) |
| virtual UWorld * | GetWorld () const override |
| UTouchInterfaceSubsystem * | GetTouchInterfaceSubsystem () |
| ULocalPlayer * | GetLocalPlayer () |
| TSharedPtr< SVirtualControl > | GetVirtualControlWidget () |
|
| virtual void | Initialize_Implementation () override |
| virtual void | OnTouchBegin_Implementation (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime) override |
| virtual void | OnTouchMove_Implementation (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration) override |
| virtual void | OnTouchEnd_Implementation (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration) override |
| virtual void | Deinitialize_Implementation () |
| virtual void | OnTick_Implementation (const FGeometry &Geometry, const double CurrentTime, const float DeltaTime) |
| BlueprintCallable void | SetTickEnabled (const bool bEnable) |
| UVirtualInputDragToSprint::Category ="Drag to sprint" |
The max value in X axis (horizontal) tolerated for DragToSprint detection (Length). If the joystick exceeds this value, then the drag to sprint event is not launched A value of 40 seems correct
Button displayed when drag to sprint is triggered This button is only used for visual & input action
- Visual Layer
- Input Action Don't forget to fill input action
The minimum drag length in pixel (Y axis, vertical) to lock input to DragToSprint when finger's user end touch Also used for sprint button relative location