SCohtmlInputForward
Inherits from SCompoundWidget
Public Functions #
| Name |
---|
| SLATE_BEGIN_ARGS(SCohtmlInputForward ) |
COHTMLPLUGIN_API | SCohtmlInputForward() |
virtual COHTMLPLUGIN_API | ~SCohtmlInputForward() |
COHTMLPLUGIN_API void | Construct(const FArguments & InArgs) |
virtual COHTMLPLUGIN_API FReply | OnMouseMove(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override |
virtual COHTMLPLUGIN_API FReply | OnMouseButtonDown(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override |
virtual COHTMLPLUGIN_API FReply | OnMouseButtonDoubleClick(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override |
virtual COHTMLPLUGIN_API FReply | OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override |
virtual COHTMLPLUGIN_API FReply | OnMouseWheel(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override |
virtual COHTMLPLUGIN_API FReply | OnDragDetected(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override |
virtual COHTMLPLUGIN_API FCursorReply | OnCursorQuery(const FGeometry & MyGeometry, const FPointerEvent & CursorEvent) const override |
virtual COHTMLPLUGIN_API FReply | OnTouchMoved(const FGeometry & MyGeometry, const FPointerEvent & InTouchEvent) override |
virtual COHTMLPLUGIN_API FReply | OnTouchStarted(const FGeometry & MyGeometry, const FPointerEvent & InTouchEvent) override |
virtual COHTMLPLUGIN_API FReply | OnTouchEnded(const FGeometry & MyGeometry, const FPointerEvent & InTouchEvent) override |
virtual COHTMLPLUGIN_API FReply | OnKeyDown(const FGeometry & MyGeometry, const FKeyEvent & KeyEvent) override |
virtual COHTMLPLUGIN_API FReply | OnKeyUp(const FGeometry & MyGeometry, const FKeyEvent & KeyEvent) override |
virtual COHTMLPLUGIN_API FReply | OnAnalogValueChanged(const FGeometry & MyGeometry, const FAnalogInputEvent & KeyEvent) override |
virtual COHTMLPLUGIN_API FReply | OnKeyChar(const FGeometry & MyGeometry, const FCharacterEvent & InCharacterEvent) override |
virtual COHTMLPLUGIN_API bool | SupportsKeyboardFocus() const override |
virtual COHTMLPLUGIN_API FReply | OnFocusReceived(const FGeometry & MyGeometry, const FFocusEvent & InKeyboardFocusEvent) override |
virtual COHTMLPLUGIN_API void | OnFocusLost(const FFocusEvent & InKeyboardFocusEvent) override |
virtual COHTMLPLUGIN_API void | OnFocusChanging(const FWeakWidgetPath & PreviousFocusPath, const FWidgetPath & NewWidgetPath, const FFocusEvent & InFocusEvent) override |
COHTMLPLUGIN_API void | SetRaycastCollisionGroup(ECollisionChannel CollisionChannel) |
COHTMLPLUGIN_API void | SetRaycastTextureAddressMode(TextureAddress TextureAddressMode) |
COHTMLPLUGIN_API void | SetRaycastQuality(ECohtmlInputWidgetRaycastQuality RaycastQuality) |
COHTMLPLUGIN_API void | SetRaycastUVChannel(uint32 UVChannel) |
COHTMLPLUGIN_API void | SetAlwaysAcceptMouseInputEvents(bool bAccept) |
COHTMLPLUGIN_API void | SetInputPropagationBehaviour(ECohtmlInputPropagationBehaviour::Type Behaviour) |
COHTMLPLUGIN_API void | SetLineTraceMode(ECohtmlInputWidgetLineTraceMode Mode) |
COHTMLPLUGIN_API void | RefocusView(UCohtmlBaseComponent * NewFocusedView) |
void | AttachVirtualJoystick(TSharedRef< SVirtualJoystick > Joystick) |
void | DetachVirtualJoystick() |
virtual void | PreCohtmlHUDMouseEvent(UCohtmlBaseComponent * , cohtml::View * , cohtml::MouseEventData ) |
virtual void | PreCohtmlInWorldMouseEvent(UCohtmlBaseComponent * , cohtml::View * , cohtml::MouseEventData ) |
bool | GetWorldData(FCohtmlInputWorldData & WorldData) |
FReply | HandleHUDInput(FVector2D ConstrainedPos, UCohtmlBaseComponent * Component, cohtml::MouseEventData & CoherentMouseData, const FPointerEvent & MouseEvent) |
FReply | HandleInWorldInput(UCohtmlBaseComponent * Component, COHERENT_FLOAT_FVECTOR2 & UV, cohtml::MouseEventData & CoherentMouseData, const FPointerEvent & MouseEvent) |
FReply | TryForwardHUDInput(UWorld * World, FVector2D ViewportPositionVec2D, TOptional< FSceneViewProjectionData > , cohtml::MouseEventData & CoherentMouseData, const FPointerEvent & MouseEvent) |
FReply | TryForwardInWorldInput(const FCohtmlInputWorldData & WorldData, FVector2D ViewportPositionVec2D, TOptional< FSceneViewProjectionData > ProjectionData, cohtml::MouseEventData & CoherentMouseData, const FPointerEvent & MouseEvent) |
Public Attributes #
Friends #
Public Functions Documentation #
function SLATE_BEGIN_ARGS #
inline SLATE_BEGIN_ARGS(
SCohtmlInputForward
)
COHTMLPLUGIN_API SCohtmlInputForward()
virtual COHTMLPLUGIN_API ~SCohtmlInputForward()
function Construct #
COHTMLPLUGIN_API void Construct(
const FArguments & InArgs
)
function OnMouseMove #
virtual COHTMLPLUGIN_API FReply OnMouseMove(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
) override
virtual COHTMLPLUGIN_API FReply OnMouseButtonDown(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
) override
virtual COHTMLPLUGIN_API FReply OnMouseButtonDoubleClick(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
) override
virtual COHTMLPLUGIN_API FReply OnMouseButtonUp(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
) override
function OnMouseWheel #
virtual COHTMLPLUGIN_API FReply OnMouseWheel(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
) override
function OnDragDetected #
virtual COHTMLPLUGIN_API FReply OnDragDetected(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
) override
function OnCursorQuery #
virtual COHTMLPLUGIN_API FCursorReply OnCursorQuery(
const FGeometry & MyGeometry,
const FPointerEvent & CursorEvent
) const override
function OnTouchMoved #
virtual COHTMLPLUGIN_API FReply OnTouchMoved(
const FGeometry & MyGeometry,
const FPointerEvent & InTouchEvent
) override
function OnTouchStarted #
virtual COHTMLPLUGIN_API FReply OnTouchStarted(
const FGeometry & MyGeometry,
const FPointerEvent & InTouchEvent
) override
function OnTouchEnded #
virtual COHTMLPLUGIN_API FReply OnTouchEnded(
const FGeometry & MyGeometry,
const FPointerEvent & InTouchEvent
) override
function OnKeyDown #
virtual COHTMLPLUGIN_API FReply OnKeyDown(
const FGeometry & MyGeometry,
const FKeyEvent & KeyEvent
) override
function OnKeyUp #
virtual COHTMLPLUGIN_API FReply OnKeyUp(
const FGeometry & MyGeometry,
const FKeyEvent & KeyEvent
) override
function OnAnalogValueChanged #
virtual COHTMLPLUGIN_API FReply OnAnalogValueChanged(
const FGeometry & MyGeometry,
const FAnalogInputEvent & KeyEvent
) override
function OnKeyChar #
virtual COHTMLPLUGIN_API FReply OnKeyChar(
const FGeometry & MyGeometry,
const FCharacterEvent & InCharacterEvent
) override
function SupportsKeyboardFocus #
virtual COHTMLPLUGIN_API bool SupportsKeyboardFocus() const override
function OnFocusReceived #
virtual COHTMLPLUGIN_API FReply OnFocusReceived(
const FGeometry & MyGeometry,
const FFocusEvent & InKeyboardFocusEvent
) override
function OnFocusLost #
virtual COHTMLPLUGIN_API void OnFocusLost(
const FFocusEvent & InKeyboardFocusEvent
) override
function OnFocusChanging #
virtual COHTMLPLUGIN_API void OnFocusChanging(
const FWeakWidgetPath & PreviousFocusPath,
const FWidgetPath & NewWidgetPath,
const FFocusEvent & InFocusEvent
) override
function SetRaycastCollisionGroup #
COHTMLPLUGIN_API void SetRaycastCollisionGroup(
ECollisionChannel CollisionChannel
)
function SetRaycastTextureAddressMode #
COHTMLPLUGIN_API void SetRaycastTextureAddressMode(
TextureAddress TextureAddressMode
)
function SetRaycastQuality #
COHTMLPLUGIN_API void SetRaycastQuality(
ECohtmlInputWidgetRaycastQuality RaycastQuality
)
function SetRaycastUVChannel #
COHTMLPLUGIN_API void SetRaycastUVChannel(
uint32 UVChannel
)
COHTMLPLUGIN_API void SetAlwaysAcceptMouseInputEvents(
bool bAccept
)
COHTMLPLUGIN_API void SetInputPropagationBehaviour(
ECohtmlInputPropagationBehaviour::Type Behaviour
)
function SetLineTraceMode #
COHTMLPLUGIN_API void SetLineTraceMode(
ECohtmlInputWidgetLineTraceMode Mode
)
function RefocusView #
COHTMLPLUGIN_API void RefocusView(
UCohtmlBaseComponent * NewFocusedView
)
function AttachVirtualJoystick #
void AttachVirtualJoystick(
TSharedRef< SVirtualJoystick > Joystick
)
function DetachVirtualJoystick #
void DetachVirtualJoystick()
function PreCohtmlHUDMouseEvent #
inline virtual void PreCohtmlHUDMouseEvent(
UCohtmlBaseComponent * ,
cohtml::View * ,
cohtml::MouseEventData
)
function PreCohtmlInWorldMouseEvent #
inline virtual void PreCohtmlInWorldMouseEvent(
UCohtmlBaseComponent * ,
cohtml::View * ,
cohtml::MouseEventData
)
function GetWorldData #
bool GetWorldData(
FCohtmlInputWorldData & WorldData
)
FReply HandleHUDInput(
FVector2D ConstrainedPos,
UCohtmlBaseComponent * Component,
cohtml::MouseEventData & CoherentMouseData,
const FPointerEvent & MouseEvent
)
FReply HandleInWorldInput(
UCohtmlBaseComponent * Component,
COHERENT_FLOAT_FVECTOR2 & UV,
cohtml::MouseEventData & CoherentMouseData,
const FPointerEvent & MouseEvent
)
FReply TryForwardHUDInput(
UWorld * World,
FVector2D ViewportPositionVec2D,
TOptional< FSceneViewProjectionData > ,
cohtml::MouseEventData & CoherentMouseData,
const FPointerEvent & MouseEvent
)
FReply TryForwardInWorldInput(
const FCohtmlInputWorldData & WorldData,
FVector2D ViewportPositionVec2D,
TOptional< FSceneViewProjectionData > ProjectionData,
cohtml::MouseEventData & CoherentMouseData,
const FPointerEvent & MouseEvent
)
Public Attributes Documentation #
FCohtmlInputWidgetMouseButtonDown OnCohtmlInputWidgetMouseButtonDown;
FCohtmlInputWidgetMouseButtonUp OnCohtmlInputWidgetMouseButtonUp;
FCohtmlInputWidgetKeyDown OnCohtmlInputWidgetKeyDown;
FCohtmlInputWidgetKeyUp OnCohtmlInputWidgetKeyUp;
FCohtmlInputFocusChanged OnCohtmlInputWidgetFocusChanged;
variable GamepadBehaviourOnFocusLostDelegate #
FCohtmlGamepadBehaviourOnFocusLostDelegate GamepadBehaviourOnFocusLostDelegate;
Friends #
friend class FCohtmlInputForwardIME;