StaticExec

Parses a global context system console or debug command and executes it.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h

Include

#include "UObject/UObjectGlobals.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp

Syntax

bool StaticExec
(
    UWorld * InWorld,
    const TCHAR * Cmd,
    FOutputDevice & Ar
)

Remarks

Parses a global context system console or debug command and executes it.

Returns

True if the command was successfully parsed

Parameters

Parameter

Description

InWorld

The world to use as a context, enables certain commands

Cmd

Command string to execute

Ar

Output device to write results of commands to

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss