Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGActorHelpers |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Helpers/PCGActorHelpers.h |
| Include Path | #include "Helpers/PCGActorHelpers.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UPCGActorHelpers : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UPCGActorHelpers
Structs
| Name | Remarks |
|---|---|
| FSpawnDefaultActorParams | Struct containing all parameters needed to spawn the actor |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int ComputeHashFromActorTagsAndReference
(
const AActor* InActor, |
Extract the tags and the actor reference of the given actor and hash it. | Helpers/PCGActorHelpers.h | |
| Helpers/PCGActorHelpers.h | |||
static bool DeleteActors
(
UWorld* World, |
Helpers/PCGActorHelpers.h | ||
static void ForEachActorInLevel
(
ULevel* Level, |
Helpers/PCGActorHelpers.h | ||
static void ForEachActorInLevel
(
ULevel* Level, |
Iterate over all actors in the level, from the given class, and pass them to a callback | Helpers/PCGActorHelpers.h | |
static void ForEachActorInWorld
(
UWorld* World, |
Helpers/PCGActorHelpers.h | ||
static void ForEachActorInWorld
(
UWorld* World, |
Iterate over all actors in the world, from the given class, and pass them to a callback | Helpers/PCGActorHelpers.h | |
static FVector GetCellCenter
(
const FVector& InPosition, |
Return the center of the PCG partition grid cell given a position and the grid size. | Helpers/PCGActorHelpers.h | |
static FIntVector GetCellCoord
(
FVector InPosition, |
Return the grid cell coordinates on the PCG partition grid given a position and the grid size. | Helpers/PCGActorHelpers.h | |
static UInstancedStaticMeshComponent * GetOrCreateISMC
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static UInstancedStaticMeshComponent * GetOrCreateISMC
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static PRAGMA_DISABLE_DEPRECATION_WARNINGSUInstancedStaticMeshComponent * GetOrCreateISMC
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static UPCGManagedISKMComponent * GetOrCreateManagedABMC
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static UPCGManagedISMComponent * GetOrCreateManagedISMC
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static UPCGManagedISMComponent * GetOrCreateManagedISMC
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static UPCGManagedISMComponent * GetOrCreateManagedISMC
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static UPCGManagedSplineMeshComponent * GetOrCreateManagedSplineMeshComponent
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static UPCGManagedSplineMeshComponent * GetOrCreateManagedSplineMeshComponent
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static USplineMeshComponent * GetOrCreateSplineMeshComponent
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static USplineMeshComponent * GetOrCreateSplineMeshComponent
(
AActor* InTargetActor, |
Helpers/PCGActorHelpers.h | ||
static AActor * SpawnDefaultActor
(
UWorld* World, |
Spawn a new actor and attach it to the parent (if not null) | Helpers/PCGActorHelpers.h | |
static AActor * SpawnDefaultActor
(
const FSpawnDefaultActorParams& Params |
Spawn a new actor | Helpers/PCGActorHelpers.h | |
| Spawn a new actor of type T and attach it to the parent (if not null) | Helpers/PCGActorHelpers.h | ||
static AActor * SpawnDefaultActor
(
UWorld* World, |
Spawn a new actor and attach it to the parent (if not null) | Helpers/PCGActorHelpers.h |