Navigation
API > API/Runtime > API/Runtime/Engine
Defines an interface by which touch input can be controlled using any number of buttons and virtual joysticks
| Name | UTouchInterface |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/TouchInterface.h |
| Include Path | #include "GameFramework/TouchInterface.h" |
Syntax
UCLASS (Blueprintable, BlueprintType, MinimalAPI)
class UTouchInterface : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTouchInterface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTouchInterface
(
const FObjectInitializer& ObjectInitializer |
GameFramework/TouchInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActivationDelay | float | GameFramework/TouchInterface.h |
|
|
| ActiveOpacity | float | GameFramework/TouchInterface.h |
|
|
| bPreventRecenter | bool | GameFramework/TouchInterface.h |
|
|
| Controls | TArray< FTouchInputControl > | GameFramework/TouchInterface.h |
|
|
| InactiveOpacity | float | GameFramework/TouchInterface.h |
|
|
| StartupDelay | float | GameFramework/TouchInterface.h |
|
|
| TimeUntilDeactive | float | GameFramework/TouchInterface.h |
|
|
| TimeUntilReset | float | GameFramework/TouchInterface.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Activate
(
TSharedPtr< SVirtualJoystick > VirtualJoystick |
Make this the active set of touch controls | GameFramework/TouchInterface.h |