Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeGrassType
Description
Return a FName that corresponds to this grass type. It used to be that grass types were unique for spawning grass on a given component. Nowadays, we use named "slots" for each grass type (the GrassName being the slot's name in the landscape material). This function here returns a fallback name for when serializing old data that was grass type-based only.
| Name | GetGrassNameFallback |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeGrassType.h |
| Include Path | #include "LandscapeGrassType.h" |
FName GetGrassNameFallback() const