engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 所有成员列表
FLevelUtils类 参考

A set of static methods for common editor operations that operate on ULevel objects. 更多...

#include <LevelUtils.h>

静态 Public 成员函数

static void ApplyLevelTransform (const FApplyLevelTransformParams &TransformParams)
 Transforms the level to a new world space
 
static ULevelStreaming * FindStreamingLevel (const ULevel *Level)
 Returns the streaming level corresponding to the specified ULevel, or NULL if none exists. 更多...
 
static ULevelStreaming * FindStreamingLevel (UWorld *InWorld, const TCHAR *PackageName)
 Returns the streaming level by package name, or NULL if none exists. 更多...
 
static bool IsLevelLoaded (ULevel *Level)
 Returns true if the level is currently loaded in the editor, false otherwise. 更多...
 
static bool IsLevelVisible (const ULevel *Level)
 Returns true if the specified level is visible in the editor, false otherwise. 更多...
 

详细描述

A set of static methods for common editor operations that operate on ULevel objects.

成员函数说明

◆ FindStreamingLevel() [1/2]

static ULevelStreaming * FLevelUtils::FindStreamingLevel ( const ULevel *  Level)
static

Returns the streaming level corresponding to the specified ULevel, or NULL if none exists.

参数
LevelThe level to query.
返回
The level's streaming level, or NULL if none exists.

◆ FindStreamingLevel() [2/2]

static ULevelStreaming * FLevelUtils::FindStreamingLevel ( UWorld *  InWorld,
const TCHAR *  PackageName 
)
static

Returns the streaming level by package name, or NULL if none exists.

参数
InWorldWorld to look in for the streaming level
PackageNameName of the package containing the ULevel to query
返回
The level's streaming level, or NULL if none exists.

◆ IsLevelLoaded()

static bool FLevelUtils::IsLevelLoaded ( ULevel *  Level)
static

Returns true if the level is currently loaded in the editor, false otherwise.

参数
LevelThe level to query.
返回
true if the level is loaded, false otherwise.

◆ IsLevelVisible()

static bool FLevelUtils::IsLevelVisible ( const ULevel *  Level)
static

Returns true if the specified level is visible in the editor, false otherwise.

参数
StreamingLevelThe level to query. Returns true if the specified level is visible in the editor, false otherwise.
LevelThe level to query.

该类的文档由以下文件生成: