unreal.WidgetInteractionSource
¶
- class unreal.WidgetInteractionSource¶
Bases:
unreal.EnumBase
The interaction source for the widget interaction component, e.g. where do we try and trace from to try to find a widget under a virtual pointer device.
C++ Source:
Module: UMG
File: WidgetInteractionComponent.h
- CENTER_SCREEN¶
Sends trace from the center of the first local player’s screen.
- Type
2
- CUSTOM¶
Sends traces from a custom location determined by the user. Will use whatever FHitResult is set by the call to SetCustomHitResult.
- Type
3
- MOUSE¶
Sends traces from the mouse location of the first local player controller.
- Type
1
- WORLD¶
Sends traces from the world location and orientation of the interaction component.
- Type
0