Navigation
API > API/Plugins > API/Plugins/VPRoles > API/Plugins/VPRoles/UVirtualProductionRolesSubsystem
References
| Module | VPRoles |
| Header | /Engine/Plugins/Experimental/VirtualProduction/VPRoles/Source/VPRoles/Public/VPRolesSubsystem.h |
| Include | #include "VPRolesSubsystem.h" |
| Source | /Engine/Plugins/Experimental/VirtualProduction/VPRoles/Source/VPRoles/Private/VPRolesSubsystem.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Virtual Production&124;Roles"&41;
bool AddRole
&40;
const FString & RoleName
&41;
Remarks
Add a new virtual production role.
This will attempt to modify the underlying VProles.ini file so it must be checked out or made writable or the operation will fail. Whether the operation succeeded.
Parameters
| Name | Description |
|---|---|
| RoleName | the name of the role to add. |