Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/WorldComposition.h |
Include |
#include "Engine/WorldComposition.h" |
class UWorldComposition : public UObject
WorldComposition represents world structure:
Holds list of all level packages participating in this world and theirs base parameters (bounding boxes, offset from origin)
Holds list of streaming level objects to stream in and out based on distance from current view point
Handles properly levels repositioning during level loading and saving
Name | Description | ||
---|---|---|---|
|
bLoadAllTilesDuringCinematic |
Whether all distance dependent tiles should be loaded and visible during cinematic. |
|
|
bLockTilesLocation |
Whether all tiles locations are locked. |
|
|
bRebaseOriginIn3DSpace |
Whether to rebase origin in 3D space, otherwise only on XY plane. |
|
|
bTemporarilyDisableOriginTracking |
Hack for a World Browser to be able to temporarily show hidden levels regardless of current world origin and without offsetting them temporarily |
|
|
float |
RebaseOriginDistance |
Maximum distance to current view point where we should initiate origin rebasing. |
|
TilesStreaming |
Streaming level objects for each tile. |
|
|
double |
TilesStreamingTimeThreshold |
Time threshold between tile streaming state changes. |
Name | Description | |
---|---|---|
|
UWorldComposition ( |
Name | Description | ||
---|---|---|---|
|
CollectTilesToCook |
Collect tiles package names to cook |
|
|
DoesTileExists ( |
||
|
EvaluateWorldOriginLocation ( |
Evaluates current world origin location against provided view location Issues request for world origin rebasing in case location is far enough from current origin |
|
|
GetDistanceDependentLayers() |
||
|
GetDistanceVisibleLevels ( |
Returns currently visible and hidden levels based on distance based streaming |
|
|
GetDistanceVisibleLevels ( |
Returns currently visible and hidden levels based on distance based streaming |
|
|
GetLevelBounds ( |
||
|
GetLevelOffset ( |
||
|
FWorldTileIn... |
GetTileInfo ( |
|
|
GetTilesList() |
||
|
UWorld * |
GetWorld() |
|
|
GetWorldRoot() |
||
|
IsDistanceDependentLevel ( |
||
|
OnLevelAddedToWorld ( |
Handles level is being added to world |
|
|
OnLevelPostLoad ( |
Handles level OnPostLoad event |
|
|
OnLevelPostSave ( |
Handles level just after it was saved to disk |
|
|
OnLevelPreSave ( |
Handles level just before it going to be saved to disk |
|
|
OnLevelRemovedFromWorld ( |
Handles level is being removed from the world |
|
|
OnTileInfoUpdated ( |
Notification from World browser about changes in tile info structure |
|
|
ReinitializeForPIE() |
||
|
Rescan() |
Scans world root folder for relevant packages and initializes world composition structures |
|
|
RestoreDirtyTilesInfo ( |
Restores dirty tiles information after world composition being rescanned |
|
|
UpdateEditorStreamingState ( |
Simulates streaming in editor world, only visibility, no loading/unloading, no LOD sub-levels |
|
|
UpdateStreamingState ( |
Adds or removes level streaming objects to world based on distance settings from current view point |
|
|
UpdateStreamingState() |
Adds or removes level streaming objects to world based on distance settings from players current view |
|
|
UpdateStreamingState |
Adds or removes level streaming objects to world based on distance settings from players current view |
|
|
UpdateStreamingStateCinematic |
Adds or removes level streaming objects to world based on distance settings from players current view |
Name |
Description |
---|---|
FEnableWorldCompositionEvent |
Event to enable/disable world composition in the world. |
FTilesList |
|
FWorldCompositionChangedEvent |
Event when world composition was successfully enabled/disabled in the world. |
Name |
Description |
---|---|
EnableWorldCompositionEvent |
|
WorldCompositionChangedEvent |
Name | Description | ||
---|---|---|---|
|
bTemporallyDisableOriginTracking |
No longer used; use bTemporarilyDisableOriginTracking instead. |