Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UActorComponent
Description
Test whether net mode is the given mode. In optimized non-editor builds this can be more efficient than GetNetMode() because it can check the static build flags without considering PIE.
| Name | IsNetMode |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
| Include Path | #include "Components/ActorComponent.h" |
bool IsNetMode
(
ENetMode Mode
) const