|
Async Blueprints Plugin v1.0.0
AsyncBlueprints
|
Asynchronous blueprint node for executing tasks. More...
#include <AsyncNode.h>
Public Member Functions | |
| UAsyncNode (const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get()) | |
| Constructor for the UAsyncNode class. | |
| UFUNCTION (BlueprintCallable, Category="Async|Nodes", meta=(WorldContext="InWorldContextObject"), meta=(BlueprintInternalUseOnly="true")) static UAsyncNode *Async(UObject *InWorldContextObject | |
| Static method to initiate an asynchronous execution in Blueprints. | |
| UPARAM (DisplayName="Execution") EBlueprintAsyncExecution InAsyncExecution) | |
| virtual void | Activate () override |
Public Attributes | |
| EBlueprintAsyncExecution | AsyncExecution |
| FAsyncNodeDelegate | OnAsync |
| Delegate broadcast when the async is activated. | |
| FAsyncNodeDelegate | OnCompleted |
| Delegate broadcast when the async is completed. | |
Asynchronous blueprint node for executing tasks.
This class represents an asynchronous blueprint node that can execute a task in various contexts (such as Task Graph or a separate thread). It uses a delegate system to notify when the async task starts and completes.
| UAsyncNode::UAsyncNode | ( | const FObjectInitializer & | ObjectInitializer = FObjectInitializer::Get() | ) |
Constructor for the UAsyncNode class.
| ObjectInitializer | Initialization object, default is the global object initializer. |
| UAsyncNode::UFUNCTION | ( | BlueprintCallable | , |
| Category | = "Async|Nodes", | ||
| meta | = (WorldContext="InWorldContextObject"), | ||
| meta | = (BlueprintInternalUseOnly="true") ) |
Static method to initiate an asynchronous execution in Blueprints.
Starts an asynchronous task using the specified execution context.
| InWorldContextObject | The context object in which the task is executed. |
| InAsyncExecution | The execution mode (task graph, thread, etc.). |
| EBlueprintAsyncExecution UAsyncNode::AsyncExecution |
Holds the execution mode for the async task.