Language:
Discover
By Skill Level
By Category

SetPlayInEditorWorld

Choose your OS:

Syntax

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)UWorld * SetPlayInEditorWorld
(
    UWorld * PlayInEditorWorld
)

Remarks

Sets GWorld to the passed in PlayWorld and sets a global flag indicating that we are playing in the Editor.

the original GWorldPIE helpers.

Sets GWorld to the passed in PlayWorld and sets a global flag indicating that we are playing in the Editor.

the original GWorld

Returns

the original GWorld

Parameters

Parameter

Description

PlayInEditorWorld

PlayWorld

PlayInEditorWorld

PlayWorld

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/Editor.h

Source

Editor/UnrealEd/Private/Editor.cpp