CARLA
Loading...
Searching...
No Matches
FPooledActor Struct Reference

#include <VegetationManager.h>

Public Member Functions

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

Public Attributes

AActor * Actor { nullptr }
FTransform GlobalTransform {FTransform()}
int32 Index {-1}
bool InUse { false }
bool IsActive { false }
std::shared_ptr< FTileMeshComponent > TileMeshComponent {nullptr}

Detailed Description

Definition at line 67 of file VegetationManager.h.

Member Function Documentation

◆ ActiveActor()

void FPooledActor::ActiveActor ( )

Definition at line 79 of file VegetationManager.cpp.

References ActiveActor(), Actor, and IsActive.

Referenced by ActiveActor().

◆ DisableActor()

void FPooledActor::DisableActor ( )

◆ EnableActor()

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

Member Data Documentation

◆ Actor

◆ GlobalTransform

FTransform FPooledActor::GlobalTransform {FTransform()}

Definition at line 73 of file VegetationManager.h.

Referenced by EnableActor().

◆ Index

int32 FPooledActor::Index {-1}

Definition at line 74 of file VegetationManager.h.

Referenced by DisableActor(), and EnableActor().

◆ InUse

bool FPooledActor::InUse { false }

Definition at line 70 of file VegetationManager.h.

Referenced by DisableActor(), and EnableActor().

◆ IsActive

bool FPooledActor::IsActive { false }

Definition at line 71 of file VegetationManager.h.

Referenced by ActiveActor(), DisableActor(), and EnableActor().

◆ TileMeshComponent

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

Definition at line 75 of file VegetationManager.h.

Referenced by DisableActor(), and EnableActor().


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