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

#include <VegetationManager.h>

+ Collaboration diagram for FPooledActor:

Public Member Functions

void ActiveActor ()
 
void DisableActor ()
 
void EnableActor (const FTransform &Transform, int32 NewIndex, std::shared_ptr< FTileMeshComponent > &NewTileMeshComponent)
 

Public Attributes

AActorActor { nullptr }
 
FTransform GlobalTransform {FTransform()}
 
int32 Index {-1}
 
bool InUse { false }
 
bool IsActive { false }
 
std::shared_ptr< FTileMeshComponentTileMeshComponent {nullptr}
 

Detailed Description

Definition at line 61 of file VegetationManager.h.

Member Function Documentation

◆ ActiveActor()

void FPooledActor::ActiveActor ( )

Definition at line 75 of file VegetationManager.cpp.

◆ DisableActor()

void FPooledActor::DisableActor ( )

Definition at line 95 of file VegetationManager.cpp.

Referenced by AVegetationManager::CreatePoolForBPClass().

+ Here is the caller graph for this function:

◆ EnableActor()

void FPooledActor::EnableActor ( const FTransform &  Transform,
int32  NewIndex,
std::shared_ptr< FTileMeshComponent > &  NewTileMeshComponent 
)

Definition at line 55 of file VegetationManager.cpp.

Referenced by AVegetationManager::SpawnSkeletalFoliages().

+ Here is the caller graph for this function:

Member Data Documentation

◆ Actor

AActor* FPooledActor::Actor { nullptr }

◆ GlobalTransform

FTransform FPooledActor::GlobalTransform {FTransform()}

Definition at line 67 of file VegetationManager.h.

◆ Index

int32 FPooledActor::Index {-1}

Definition at line 68 of file VegetationManager.h.

◆ InUse

bool FPooledActor::InUse { false }

Definition at line 64 of file VegetationManager.h.

◆ IsActive

bool FPooledActor::IsActive { false }

Definition at line 65 of file VegetationManager.h.

◆ TileMeshComponent

std::shared_ptr<FTileMeshComponent> FPooledActor::TileMeshComponent {nullptr}

Definition at line 69 of file VegetationManager.h.


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