CARLA
Public Attributes | List of all members
FActorDefinition Struct Reference

A definition of a Carla Actor with all the variation and attributes. More...

#include <ActorDefinition.h>

+ Collaboration diagram for FActorDefinition:

Public Attributes

TArray< FActorAttributeAttributes
 Attributes represent non-modifiable properties of the actor that might help the user identifying and filtering actors. More...
 
TSubclassOf< AActorClass
 Class of the actor to be spawned (Optional). More...
 
FString Id
 Display ID that identifies the actor. More...
 
FString Tags
 A list of comma-separated tags. More...
 
uint32 UId = 0u
 Uniquely identifies the definition (no need to fill it). More...
 
TArray< FActorVariationVariations
 Variations represent variables the user can modify to generate variations of the actor. More...
 

Detailed Description

A definition of a Carla Actor with all the variation and attributes.

Definition at line 17 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/ActorDefinition.h.

Member Data Documentation

◆ Attributes

TArray<FActorAttribute> FActorDefinition::Attributes

◆ Class

TSubclassOf<AActor> FActorDefinition::Class

Class of the actor to be spawned (Optional).

Note that this parameter is not exposed on the client-side, only used by the spawner itself.

Definition at line 33 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/ActorDefinition.h.

Referenced by UActorDispatcher::Bind(), ATriggerFactory::GetDefinitions(), UActorBlueprintFunctionLibrary::MakePedestrianDefinition(), and UActorBlueprintFunctionLibrary::MakeVehicleDefinition().

◆ Id

FString FActorDefinition::Id

◆ Tags

FString FActorDefinition::Tags

A list of comma-separated tags.

Definition at line 37 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/ActorDefinition.h.

Referenced by FillIdAndTags(), and FActorDefinitionValidator::IsValid().

◆ UId

uint32 FActorDefinition::UId = 0u

Uniquely identifies the definition (no need to fill it).

Definition at line 22 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/ActorDefinition.h.

Referenced by UActorDispatcher::Bind().

◆ Variations

TArray<FActorVariation> FActorDefinition::Variations

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