Navigation
Unreal Engine C++ API Reference > Runtime > Landscape
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UWorldSubsystem
- UTickableWorldSubsystem
- ULandscapeSubsystem
References
Module | Landscape |
Header | /Engine/Source/Runtime/Landscape/Public/LandscapeSubsystem.h |
Include | #include "LandscapeSubsystem.h" |
Syntax
class ULandscapeSubsystem : public UTickableWorldSubsystem
Constructors
Type | Name | Description | |
---|---|---|---|
Destructors
Type | Name | Description | |
---|---|---|---|
Functions
Type | Name | Description | |
---|---|---|---|
void | AddAsyncEvent
(
FGraphEventRef GraphEventRef |
||
bool | |||
bool | |||
void | BuildAll () |
||
void | |||
void | BuildNanite
(
TArrayView< ALandscapeProxy* > InProxiesToBuild, |
Updates the Nanite mesh on all landscape actors whose mesh is not up to date. | |
void | |||
void | ChangeGridSize
(
ULandscapeInfo* LandscapeInfo, |
||
void | |||
void | DisplayMessages
(
FCanvas* Canvas, |
||
ALandscapeProxy * | FindOrAddLandscapeProxy
(
ULandscapeInfo* LandscapeInfo, |
||
FDateTime | Returns true if any view has view collisions enabled. | ||
bool | |||
FLandscapeNotificationManager * | |||
FOnHeightmapStreamedDelegate & | |||
TArray< ALandscapeProxy * > | GetOutdatedProxies
(
UE::Landscape::EOutdatedDataFlags InMatchingOutdatedDataFlags, |
||
bool | |||
void | |||
bool | |||
bool | IsGridBased () |
||
bool | Returns true if the user has requested Nanite Meshes to be generated on landscape edit. If we return false then the nanite build will happen either on map save or explicit build. | ||
bool | Returns true if we should build nanite meshes in parallel asynchronously. | ||
void | |||
void | PrioritizeGrassCreation
(
bool bPrioritizeGrassCreation |
||
void | RegenerateGrass
(
bool bInFlushGrass, |
Can be called at runtime : (optionally) flushes grass on all landscape components and updates them | |
void | RegisterActor
(
ALandscapeProxy* Proxy |
||
void | |||
void | UnregisterActor
(
ALandscapeProxy* Proxy |
Overridden from UWorldSubsystem
Type | Name | Description | |
---|---|---|---|
bool | DoesSupportWorldType
(
const EWorldType::Type WorldType |
Overridden from FTickableGameObject
Type | Name | Description | |
---|---|---|---|
bool | Used to determine whether the object should be ticked in the editor. |
Overridden from FTickableObjectBase
Type | Name | Description | |
---|---|---|---|
TStatId | GetStatId () |
Return the stat id to use for this tickable | |
ETickableTickType | Virtual that can be overloaded by the inheriting class. | ||
void | Tick
(
float DeltaTime |
Pure virtual that must be overloaded by the inheriting class. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
void | BuildGIBakedTextures is officially deprecated nowe | ||
int32 | GetOudatedPhysicalMaterialComponentsCount is now deprecated, use GetOutdatedProxies | ||
int32 | GetOutdatedGIBakedTextureComponentsCount is officially deprecated now | ||
int32 | GetOutdatedGrassMapCount is now deprecated, use GetOutdatedProxies | ||
bool | Use GetDirtyOnlyInMode instead |