Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/IPIEAuthorizer
Description
Helper function that can be used to iterate through all registered implementations of IPIEAuthorizer to gate play-in-editor functionality, where a PIE session may be undesirable given some external plugin's state.
This function will not require any interactions with users and can be called for "silent" queries
| Name | IsPIEAuthorized |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/IPIEAuthorizer.h |
| Include Path | #include "IPIEAuthorizer.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/IPIEAuthorizer.cpp |
static TValueOrError < bool, FText > IsPIEAuthorized
(
bool bIsSimulateInEditor
)
Whether PIE is allowed and optional error description if denied.
Parameters
| Name | Remarks |
|---|---|
| bIsSimulateInEditor | Whether the request is for Simulate In Editor (SIE) or Play In Editor (PIE) |