CARLA
Public Member Functions | Public Attributes | List of all members
FTileData Struct Reference

#include <VegetationManager.h>

+ Collaboration diagram for FTileData:

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 {}
 

Detailed Description

Definition at line 34 of file VegetationManager.h.

Constructor & Destructor Documentation

◆ ~FTileData()

FTileData::~FTileData ( )

Definition at line 48 of file VegetationManager.cpp.

Member Function Documentation

◆ ContainsMesh()

bool FTileData::ContainsMesh ( const UInstancedStaticMeshComponent *  Mesh) const

Definition at line 203 of file VegetationManager.cpp.

References TileMeshesCache.

Referenced by AVegetationManager::SetInstancedStaticMeshComponentCache().

+ Here is the caller graph for this function:

◆ UpdateMaterialCache()

void FTileData::UpdateMaterialCache ( const FLinearColor &  Value,
bool  DebugMaterials 
)

Definition at line 214 of file VegetationManager.cpp.

References MaterialInstanceDynamicCache.

Referenced by AVegetationManager::UpdateMaterials().

+ Here is the caller graph for this function:

◆ UpdateTileMeshComponent()

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().

+ Here is the caller graph for this function:

Member Data Documentation

◆ InstancedFoliageActor

AInstancedFoliageActor* FTileData::InstancedFoliageActor {nullptr}

◆ MaterialInstanceDynamicCache

TArray<UMaterialInstanceDynamic*> FTileData::MaterialInstanceDynamicCache {}

◆ ProceduralFoliageVolume

AProceduralFoliageVolume* FTileData::ProceduralFoliageVolume {nullptr}

◆ TileMeshesCache

TArray<std::shared_ptr<FTileMeshComponent> > FTileData::TileMeshesCache {}

The documentation for this struct was generated from the following files: