Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGBlueprintHelpers |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Helpers/PCGBlueprintHelpers.h |
| Include Path | #include "Helpers/PCGBlueprintHelpers.h" |
Syntax
UCLASS (MinimalAPI)
class UPCGBlueprintHelpers : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UPCGBlueprintHelpers
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int ComputeSeedFromPosition
(
const FVector& InPosition |
Helpers/PCGBlueprintHelpers.h |
|
|
| Helpers/PCGBlueprintHelpers.h |
|
||
static UPCGData * DuplicateData
(
const UPCGData* InData, |
Prefer using DuplicateDataWithContext | Helpers/PCGBlueprintHelpers.h |
|
static UPCGData * DuplicateDataWithContext
(
const UPCGData* InData, |
Implementation note: Needs to be done outside of UPCGData because of circular dependency between PCGContext.h and PCGData.h. | Helpers/PCGBlueprintHelpers.h |
|
static bool FlushPCGCache () |
Flush the cache, to be used if you have changed something PCG depends on at runtime. | Helpers/PCGBlueprintHelpers.h |
|
static FBox GetActorBoundsPCG
(
AActor* InActor, |
Helpers/PCGBlueprintHelpers.h |
|
|
static UPCGData * GetActorData
(
UPARAM(ref) FPCGContext& Context |
Prefer using GetActorDataWithContext | Helpers/PCGBlueprintHelpers.h |
|
static UPCGData * GetActorDataWithContext
(
const FPCGBlueprintContextHandle& ContextHandle |
Helpers/PCGBlueprintHelpers.h |
|
|
static FBox GetActorLocalBoundsPCG
(
AActor* InActor, |
Helpers/PCGBlueprintHelpers.h |
|
|
static UPCGComponent * GetComponent
(
UPARAM(ref) FPCGContext& Context |
Prefer using GetComponentWithContext | Helpers/PCGBlueprintHelpers.h |
|
static UPCGComponent * GetComponentWithContext
(
const FPCGBlueprintContextHandle& ContextHandle |
Helpers/PCGBlueprintHelpers.h |
|
|
static FVector GetExtents
(
const FPCGPoint& InPoint |
Helpers/PCGBlueprintHelpers.h |
|
|
static UPCGData * GetInputData
(
UPARAM(ref) FPCGContext& Context |
Prefer using GetInputDataWithContext | Helpers/PCGBlueprintHelpers.h |
|
static UPCGData * GetInputDataWithContext
(
const FPCGBlueprintContextHandle& ContextHandle |
Helpers/PCGBlueprintHelpers.h |
|
|
static TArray< FPCGLandscapeLayerWeight > GetInterpolatedPCGLandscapeLayerWeights
(
UObject* WorldContextObject, |
Helpers/PCGBlueprintHelpers.h |
|
|
static FVector GetLocalCenter
(
const FPCGPoint& InPoint |
Helpers/PCGBlueprintHelpers.h |
|
|
static UPCGComponent * GetOriginalComponent
(
UPARAM(ref) FPCGContext& Context |
Prefer using GetOriginalComponentWithContext | Helpers/PCGBlueprintHelpers.h |
|
static UPCGComponent * GetOriginalComponentWithContext
(
const FPCGBlueprintContextHandle& ContextHandle |
Helpers/PCGBlueprintHelpers.h |
|
|
static FRandomStream GetRandomStreamFromPoint
(
const FPCGPoint& InPoint, |
Creates a random stream from a point's seed and settings/component's seed (optional) | Helpers/PCGBlueprintHelpers.h |
|
static FRandomStream GetRandomStreamFromTwoPoints
(
const FPCGPoint& InPointA, |
Creates a random stream from using the random seeds from two points, as well as settings/component's seed (optional) | Helpers/PCGBlueprintHelpers.h |
|
static const UPCGSettings * GetSettings
(
UPARAM(ref) FPCGContext& Context |
Prefer using GetSettingsWithContext | Helpers/PCGBlueprintHelpers.h |
|
static const UPCGSettings * GetSettingsWithContext
(
const FPCGBlueprintContextHandle& ContextHandle |
Helpers/PCGBlueprintHelpers.h |
|
|
static AActor * GetTargetActor
(
UPARAM(ref) FPCGContext& Context, |
Prefer using GetTargetActorWithContext | Helpers/PCGBlueprintHelpers.h |
|
static AActor * GetTargetActorWithContext
(
const FPCGBlueprintContextHandle& ContextHandle, |
Helpers/PCGBlueprintHelpers.h |
|
|
static int64 GetTaskId
(
UPARAM(ref) FPCGContext& Context |
Prefer using GetTaskIdWithContext | Helpers/PCGBlueprintHelpers.h |
|
static int64 GetTaskIdWithContext
(
const FPCGBlueprintContextHandle& ContextHandle |
Helpers/PCGBlueprintHelpers.h |
|
|
static FBox GetTransformedBounds
(
const FPCGPoint& InPoint |
Helpers/PCGBlueprintHelpers.h |
|
|
static void RefreshPCGRuntimeComponent
(
UPCGComponent* InComponent, |
Refresh a component set to Generate At Runtime, if some parameters changed. | Helpers/PCGBlueprintHelpers.h |
|
static void SetExtents
(
UPARAM(ref) FPCGPoint& InPoint, |
Helpers/PCGBlueprintHelpers.h |
|
|
static void SetLocalCenter
(
UPARAM(ref) FPCGPoint& InPoint, |
Helpers/PCGBlueprintHelpers.h |
|
|
static void SetSeedFromPosition
(
UPARAM(ref) FPCGPoint& InPoint |
Helpers/PCGBlueprintHelpers.h |
|
|
static void ThrowBlueprintException
(
const FText& ErrorMessage |
Helpers/PCGBlueprintHelpers.h |