UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWebJSFunction Struct Reference

#include <WebJSFunction.h>

+ Inheritance diagram for FWebJSFunction:

Public Member Functions

 FWebJSFunction ()
 
 FWebJSFunction (TSharedPtr< FWebJSScripting > InScripting, const FGuid &InFunctionId)
 
template<typename ... ArgTypes>
void operator() (ArgTypes... Args) const
 
- Public Member Functions inherited from FWebJSCallbackBase
 FWebJSCallbackBase ()
 
bool IsValid () const
 

Additional Inherited Members

- Protected Member Functions inherited from FWebJSCallbackBase
 FWebJSCallbackBase (TSharedPtr< FWebJSScripting > InScripting, const FGuid &InCallbackId)
 
WEBBROWSER_API void Invoke (int32 ArgCount, FWebJSParam Arguments[], bool bIsError=false) const
 

Detailed Description

Representation of a remote JS function. FWebJSFunction objects represent a JS function and allow calling them from native code. FWebJSFunction objects can also be added to delegates and events using the Bind/AddLambda method.

Constructor & Destructor Documentation

◆ FWebJSFunction() [1/2]

FWebJSFunction::FWebJSFunction ( )
inline

◆ FWebJSFunction() [2/2]

FWebJSFunction::FWebJSFunction ( TSharedPtr< FWebJSScripting InScripting,
const FGuid InFunctionId 
)
inline

Member Function Documentation

◆ operator()()

template<typename ... ArgTypes>
void FWebJSFunction::operator() ( ArgTypes...  Args) const
inline

The documentation for this struct was generated from the following file: