Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent
Description
Temporarily sets the grass type for this component. Any call to UpdateGrassTypes may override what has been set using this method.
| Name | SetGrassTypes |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include Path | #include "LandscapeComponent.h" |
void SetGrassTypes
(
const TArray < TObjectPtr < ULandscapeGrassType > > & InGrassTypes
)