|
| | UVirtualInputEvent () |
| BlueprintNativeEvent void | Initialize () |
| BlueprintNativeEvent void | Deinitialize () |
| virtual bool | IsCompatible (EControlType InputType) const |
| 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 () |
| virtual void | Deinitialize_Implementation () |
| virtual void | OnTouchBegin_Implementation (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime) |
| virtual void | OnTouchMove_Implementation (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration) |
| virtual void | OnTouchEnd_Implementation (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration) |
| virtual void | OnTick_Implementation (const FGeometry &Geometry, const double CurrentTime, const float DeltaTime) |
| BlueprintCallable void | SetTickEnabled (const bool bEnable) |
| UVirtualInputEvent::Category ="Virtual Input Event" |
Get the virtual control name that own this virtual control event
Get a copy of visual layer data for the virtual control that own this virtual control event
Set Visual Layer data of the virtual control that own this virtual control event The changes will be applied at the next tick
Set visual layer of the virtual control thot own this virtual control event If Name is invalid, use layer name in FVisualLayer The changes will be applied at the next tick
Add new layer to virtual input.
- Parameters
-
| LayerName | Name of layer. If empty, it automatically generate a name |
| Visual | Structure that define the visual of layer |
- Returns
- Name used for creating layer
Insert new layer to virtual input at given index.
- Parameters
-
| LayerName | Name of layer. If empty, it automatically generate a name |
| Index | Position of new layer in array |
| Visual | Structure that define the visual of layer |
- Returns
- Name used for creating layer