Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent
Description
Returns the array of grass types used by the landscape material. Call UpdateGrassTypes first to ensure this array is up to date.
| Name | GetGrassTypes |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include Path | #include "LandscapeComponent.h" |
const TArray < TObjectPtr < ULandscapeGrassType > > & GetGrassTypes() const