SCohtmlInputForward

Inherits from SCompoundWidget

Public Functions

Name
SLATE_BEGIN_ARGS(SCohtmlInputForward )
COHTMLPLUGIN_APISCohtmlInputForward()
virtual COHTMLPLUGIN_API~SCohtmlInputForward()
COHTMLPLUGIN_API voidConstruct(const FArguments & InArgs)
virtual COHTMLPLUGIN_API FReplyOnMouseMove(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override
virtual COHTMLPLUGIN_API FReplyOnMouseButtonDown(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override
virtual COHTMLPLUGIN_API FReplyOnMouseButtonDoubleClick(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override
virtual COHTMLPLUGIN_API FReplyOnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override
virtual COHTMLPLUGIN_API FReplyOnMouseWheel(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override
virtual COHTMLPLUGIN_API FReplyOnDragDetected(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) override
virtual COHTMLPLUGIN_API FCursorReplyOnCursorQuery(const FGeometry & MyGeometry, const FPointerEvent & CursorEvent) const override
virtual COHTMLPLUGIN_API FReplyOnTouchMoved(const FGeometry & MyGeometry, const FPointerEvent & InTouchEvent) override
virtual COHTMLPLUGIN_API FReplyOnTouchStarted(const FGeometry & MyGeometry, const FPointerEvent & InTouchEvent) override
virtual COHTMLPLUGIN_API FReplyOnTouchEnded(const FGeometry & MyGeometry, const FPointerEvent & InTouchEvent) override
virtual COHTMLPLUGIN_API FReplyOnKeyDown(const FGeometry & MyGeometry, const FKeyEvent & KeyEvent) override
virtual COHTMLPLUGIN_API FReplyOnKeyUp(const FGeometry & MyGeometry, const FKeyEvent & KeyEvent) override
virtual COHTMLPLUGIN_API FReplyOnAnalogValueChanged(const FGeometry & MyGeometry, const FAnalogInputEvent & KeyEvent) override
virtual COHTMLPLUGIN_API FReplyOnKeyChar(const FGeometry & MyGeometry, const FCharacterEvent & InCharacterEvent) override
virtual COHTMLPLUGIN_API boolSupportsKeyboardFocus() const override
virtual COHTMLPLUGIN_API FReplyOnFocusReceived(const FGeometry & MyGeometry, const FFocusEvent & InKeyboardFocusEvent) override
virtual COHTMLPLUGIN_API voidOnFocusLost(const FFocusEvent & InKeyboardFocusEvent) override
virtual COHTMLPLUGIN_API voidOnFocusChanging(const FWeakWidgetPath & PreviousFocusPath, const FWidgetPath & NewWidgetPath, const FFocusEvent & InFocusEvent) override
COHTMLPLUGIN_API voidSetRaycastCollisionGroup(ECollisionChannel CollisionChannel)
COHTMLPLUGIN_API voidSetRaycastTextureAddressMode(TextureAddress TextureAddressMode)
COHTMLPLUGIN_API voidSetRaycastQuality(ECohtmlInputWidgetRaycastQuality RaycastQuality)
COHTMLPLUGIN_API voidSetRaycastUVChannel(uint32 UVChannel)
COHTMLPLUGIN_API voidSetAlwaysAcceptMouseInputEvents(bool bAccept)
COHTMLPLUGIN_API voidSetInputPropagationBehaviour(ECohtmlInputPropagationBehaviour::Type Behaviour)
COHTMLPLUGIN_API voidSetLineTraceMode(ECohtmlInputWidgetLineTraceMode Mode)
COHTMLPLUGIN_API voidRefocusView(UCohtmlBaseComponent * NewFocusedView)
voidAttachVirtualJoystick(TSharedRef< SVirtualJoystick > Joystick)
voidDetachVirtualJoystick()
virtual voidPreCohtmlHUDMouseEvent(UCohtmlBaseComponent * , cohtml::View * , cohtml::MouseEventData )
virtual voidPreCohtmlInWorldMouseEvent(UCohtmlBaseComponent * , cohtml::View * , cohtml::MouseEventData )
boolGetWorldData(FCohtmlInputWorldData & WorldData)
FReplyHandleHUDInput(FVector2D ConstrainedPos, UCohtmlBaseComponent * Component, cohtml::MouseEventData & CoherentMouseData, const FPointerEvent & MouseEvent)
FReplyHandleInWorldInput(UCohtmlBaseComponent * Component, COHERENT_FLOAT_FVECTOR2 & UV, cohtml::MouseEventData & CoherentMouseData, const FPointerEvent & MouseEvent)
FReplyTryForwardHUDInput(UWorld * World, FVector2D ViewportPositionVec2D, TOptional< FSceneViewProjectionData > , cohtml::MouseEventData & CoherentMouseData, const FPointerEvent & MouseEvent)
FReplyTryForwardInWorldInput(const FCohtmlInputWorldData & WorldData, FVector2D ViewportPositionVec2D, TOptional< FSceneViewProjectionData > ProjectionData, cohtml::MouseEventData & CoherentMouseData, const FPointerEvent & MouseEvent)

Public Attributes

Name
FCohtmlInputWidgetMouseButtonDownOnCohtmlInputWidgetMouseButtonDown
FCohtmlInputWidgetMouseButtonUpOnCohtmlInputWidgetMouseButtonUp
FCohtmlInputWidgetKeyDownOnCohtmlInputWidgetKeyDown
FCohtmlInputWidgetKeyUpOnCohtmlInputWidgetKeyUp
FCohtmlInputFocusChangedOnCohtmlInputWidgetFocusChanged
FCohtmlGamepadBehaviourOnFocusLostDelegateGamepadBehaviourOnFocusLostDelegate

Friends

Name
classFCohtmlInputForwardIME

Public Functions Documentation

function SLATE_BEGIN_ARGS

inline SLATE_BEGIN_ARGS(
    SCohtmlInputForward 
)

function SCohtmlInputForward

COHTMLPLUGIN_API SCohtmlInputForward()

function ~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

function OnMouseButtonDown

virtual COHTMLPLUGIN_API FReply OnMouseButtonDown(
    const FGeometry & MyGeometry,
    const FPointerEvent & MouseEvent
) override

function OnMouseButtonDoubleClick

virtual COHTMLPLUGIN_API FReply OnMouseButtonDoubleClick(
    const FGeometry & MyGeometry,
    const FPointerEvent & MouseEvent
) override

function OnMouseButtonUp

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
)

function SetAlwaysAcceptMouseInputEvents

COHTMLPLUGIN_API void SetAlwaysAcceptMouseInputEvents(
    bool bAccept
)

function SetInputPropagationBehaviour

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
)

function HandleHUDInput

FReply HandleHUDInput(
    FVector2D ConstrainedPos,
    UCohtmlBaseComponent * Component,
    cohtml::MouseEventData & CoherentMouseData,
    const FPointerEvent & MouseEvent
)

function HandleInWorldInput

FReply HandleInWorldInput(
    UCohtmlBaseComponent * Component,
    COHERENT_FLOAT_FVECTOR2 & UV,
    cohtml::MouseEventData & CoherentMouseData,
    const FPointerEvent & MouseEvent
)

function TryForwardHUDInput

FReply TryForwardHUDInput(
    UWorld * World,
    FVector2D ViewportPositionVec2D,
    TOptional< FSceneViewProjectionData > ,
    cohtml::MouseEventData & CoherentMouseData,
    const FPointerEvent & MouseEvent
)

function TryForwardInWorldInput

FReply TryForwardInWorldInput(
    const FCohtmlInputWorldData & WorldData,
    FVector2D ViewportPositionVec2D,
    TOptional< FSceneViewProjectionData > ProjectionData,
    cohtml::MouseEventData & CoherentMouseData,
    const FPointerEvent & MouseEvent
)

Public Attributes Documentation

variable OnCohtmlInputWidgetMouseButtonDown

FCohtmlInputWidgetMouseButtonDown OnCohtmlInputWidgetMouseButtonDown;

variable OnCohtmlInputWidgetMouseButtonUp

FCohtmlInputWidgetMouseButtonUp OnCohtmlInputWidgetMouseButtonUp;

variable OnCohtmlInputWidgetKeyDown

FCohtmlInputWidgetKeyDown OnCohtmlInputWidgetKeyDown;

variable OnCohtmlInputWidgetKeyUp

FCohtmlInputWidgetKeyUp OnCohtmlInputWidgetKeyUp;

variable OnCohtmlInputWidgetFocusChanged

FCohtmlInputFocusChanged OnCohtmlInputWidgetFocusChanged;

variable GamepadBehaviourOnFocusLostDelegate

FCohtmlGamepadBehaviourOnFocusLostDelegate GamepadBehaviourOnFocusLostDelegate;

Friends

friend FCohtmlInputForwardIME

friend class FCohtmlInputForwardIME;