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

The public interface of the EyeTracker module 更多...

#include <IEyeTrackerModule.h>

+ 类 IEyeTrackerModule 继承关系图:

类

struct  FCompareModulePriority
 Sorting method for which plug-in should be given priority 更多...
 

Public 成员函数

virtual TSharedPtr< class IEyeTracker, ESPMode::ThreadSafe > CreateEyeTracker ()=0
 Attempts to create a new head tracking device interface 更多...
 
float GetModulePriority () const
 Returns the priority of this module from INI file configuration
 
virtual void StartupModule () override
 Register module as an EyeTracker on startup.
 
- Public 成员函数 继承自 IModuleInterface
virtual bool IsGameModule () const
 Returns true if this module hosts gameplay code 更多...
 
virtual void PostLoadCallback ()
 Called after the module has been reloaded
 
virtual void PreUnloadCallback ()
 Called before the module has been unloaded
 
virtual void ShutdownModule ()
 Called before the module is unloaded, right before the module object is destroyed. 更多...
 
virtual void StartupModule ()
 Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多...
 
virtual bool SupportsAutomaticShutdown ()
 Override this to set whether your module would like cleanup on application shutdown 更多...
 
virtual bool SupportsDynamicReloading ()
 Override this to set whether your module is allowed to be unloaded on the fly 更多...
 
virtual ~IModuleInterface ()
 Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface

 

静态 Public 成员函数

static IEyeTrackerModule & Get ()
 Singleton-like access to IEyeTrackerModule 更多...
 
static FName GetModularFeatureName ()
 Returns modular feature name for this module
 
static bool IsAvailable ()
 Checks to see if there exists a module registered as an EyeTracker. 更多...
 

详细描述

The public interface of the EyeTracker module

成员函数说明

◆ CreateEyeTracker()

virtual TSharedPtr< class IEyeTracker, ESPMode::ThreadSafe > IEyeTrackerModule::CreateEyeTracker ( )
pure virtual

Attempts to create a new head tracking device interface

返回
Interface to the new head tracking device, if we were able to successfully create one

◆ Get()

static IEyeTrackerModule & IEyeTrackerModule::Get ( )
inlinestatic

Singleton-like access to IEyeTrackerModule

返回
Returns reference to the highest priority IEyeTrackerModule module

◆ IsAvailable()

static bool IEyeTrackerModule::IsAvailable ( )
inlinestatic

Checks to see if there exists a module registered as an EyeTracker.

It is only valid to call Get() if IsAvailable() returns true.

返回
True if there exists a module registered as an HMD.

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