engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IClickBehaviorTarget类 参考abstract

Functions required to apply standard "Click" state machines to a target object. 更多...

#include <BehaviorTargetInterfaces.h>

+ 类 IClickBehaviorTarget 继承关系图:

Public 成员函数

virtual FInputRayHit IsHitByClick (const FInputDeviceRay &ClickPos)=0
 Test if target is hit by a click 更多...
 
virtual void OnClicked (const FInputDeviceRay &ClickPos)=0
 Notify Target that click ocurred 更多...
 
- Public 成员函数 继承自 IModifierToggleBehaviorTarget
virtual void OnUpdateModifierState (int ModifierID, bool bIsOn)
 Notify target of current modifier state 更多...
 

详细描述

Functions required to apply standard "Click" state machines to a target object.

See USingleClickBehavior for an example of this kind of state machine.

成员函数说明

◆ IsHitByClick()

virtual FInputRayHit IClickBehaviorTarget::IsHitByClick ( const FInputDeviceRay &  ClickPos)
pure virtual

Test if target is hit by a click

参数
ClickPosdevice position/ray at click point
返回
hit information at this point

在 USingleClickTool 内被实现.

◆ OnClicked()

virtual void IClickBehaviorTarget::OnClicked ( const FInputDeviceRay &  ClickPos)
pure virtual

Notify Target that click ocurred

参数
ClickPosdevice position/ray at click point

在 USingleClickTool 内被实现.


该类的文档由以下文件生成: