#include <VegetationManager.h>
Public Member Functions | |
bool | ContainsMesh (const UInstancedStaticMeshComponent *) const |
void | UpdateMaterialCache (const FLinearColor &Value, bool DebugMaterials) |
void | UpdateTileMeshComponent (UInstancedStaticMeshComponent *NewInstancedStaticMeshComponent) |
~FTileData () | |
Public Attributes | |
AInstancedFoliageActor * | InstancedFoliageActor {nullptr} |
TArray< UMaterialInstanceDynamic * > | MaterialInstanceDynamicCache {} |
AProceduralFoliageVolume * | ProceduralFoliageVolume {nullptr} |
TArray< std::shared_ptr< FTileMeshComponent > > | TileMeshesCache {} |
Definition at line 34 of file VegetationManager.h.
FTileData::~FTileData | ( | ) |
Definition at line 48 of file VegetationManager.cpp.
bool FTileData::ContainsMesh | ( | const UInstancedStaticMeshComponent * | Mesh | ) | const |
Definition at line 203 of file VegetationManager.cpp.
References TileMeshesCache.
Referenced by AVegetationManager::SetInstancedStaticMeshComponentCache().
void FTileData::UpdateMaterialCache | ( | const FLinearColor & | Value, |
bool | DebugMaterials | ||
) |
Definition at line 214 of file VegetationManager.cpp.
References MaterialInstanceDynamicCache.
Referenced by AVegetationManager::UpdateMaterials().
void FTileData::UpdateTileMeshComponent | ( | UInstancedStaticMeshComponent * | NewInstancedStaticMeshComponent | ) |
Definition at line 182 of file VegetationManager.cpp.
References FTileMeshComponent::bIsAlive, FTileMeshComponent::IndicesInUse, FTileMeshComponent::InstancedStaticMeshComponent, and TileMeshesCache.
Referenced by AVegetationManager::SetInstancedStaticMeshComponentCache().
AInstancedFoliageActor* FTileData::InstancedFoliageActor {nullptr} |
Definition at line 37 of file VegetationManager.h.
Referenced by AVegetationManager::CheckForNewTiles(), AVegetationManager::CreateOrUpdateTileCache(), AVegetationManager::FreeTileCache(), AVegetationManager::GetTilesInUse(), AVegetationManager::SetInstancedStaticMeshComponentCache(), and AVegetationManager::UpdateFoliageBlueprintCache().
TArray<UMaterialInstanceDynamic*> FTileData::MaterialInstanceDynamicCache {} |
Definition at line 40 of file VegetationManager.h.
Referenced by AVegetationManager::CreateOrUpdateTileCache(), AVegetationManager::FreeTileCache(), AVegetationManager::SetMaterialCache(), and UpdateMaterialCache().
AProceduralFoliageVolume* FTileData::ProceduralFoliageVolume {nullptr} |
Definition at line 38 of file VegetationManager.h.
Referenced by AVegetationManager::CreateOrUpdateTileCache(), AVegetationManager::FreeTileCache(), and AVegetationManager::GetTilesInUse().
TArray<std::shared_ptr<FTileMeshComponent> > FTileData::TileMeshesCache {} |
Definition at line 39 of file VegetationManager.h.
Referenced by ContainsMesh(), AVegetationManager::CreateOrUpdateTileCache(), AVegetationManager::FreeTileCache(), AVegetationManager::GetElementsToSpawn(), AVegetationManager::SetInstancedStaticMeshComponentCache(), AVegetationManager::SetMaterialCache(), and UpdateTileMeshComponent().