Navigation
API > API/Plugins > API/Plugins/VPRoles > API/Plugins/VPRoles/UVirtualProductionRolesSubsystem
Description
Set the current Virtual Production roles.
The roles must already have been added either through the UI or through AddRole.
This will clear the previous current roles.
| Name | SetActiveRoles |
| Type | function |
| Header File | /Engine/Plugins/Experimental/VirtualProduction/VPRoles/Source/VPRoles/Public/VPRolesSubsystem.h |
| Include Path | #include "VPRolesSubsystem.h" |
| Source | /Engine/Plugins/Experimental/VirtualProduction/VPRoles/Source/VPRoles/Private/VPRolesSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Virtual Production|Roles")
void SetActiveRoles
(
const TArray < FString > & Roles
)
Parameters
| Name | Remarks |
|---|---|
| Roles | the list of roles to set as active. |