Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeSubsystem
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Public/LandscapeSubsystem.h |
| Include | #include "LandscapeSubsystem.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeSubsystem.cpp |
void RegenerateGrass
&40;
bool bInFlushGrass,
bool bInForceSync,
TOptional< TArrayView< FVector >> InOptionalCameraLocations
&41;
Remarks
Can be called at runtime : (optionally) flushes grass on all landscape components and updates them
Parameters
| Name | Description |
|---|---|
| bInFlushGrass | : flushes all grass from landscape components prior to updating them |
| bInForceSync | : synchronously updates grass on all landscape components |
| InOptionalCameraLocations | : (optional) camera locations that should be used when updating the grass. If not specified, the usual (streaming manager-based) view locations will be used |