Navigation
API > API/Plugins > API/Plugins/PCG
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/PCGCommon.h |
| Include | #include "PCGCommon.h" |
Syntax
USTRUCT (BlueprintType )
struct FPCGRuntimeGenerationRadii
Variables
| Type | Name | Description | |
|---|---|---|---|
| double | CleanupRadiusMultiplier | Multiplier on the GenerationRadius to control the distance at which runtime generated components will be cleaned up. | |
| double | GenerationRadius | The distance (in centimeters) at which the component will be considered for generation by the RuntimeGenerationScheduler. | |
| double | GenerationRadius102400 | ||
| double | GenerationRadius12800 | ||
| double | GenerationRadius1600 | ||
| double | GenerationRadius204800 | ||
| double | GenerationRadius25600 | ||
| double | GenerationRadius3200 | ||
| double | GenerationRadius400 | ||
| double | GenerationRadius51200 | ||
| double | GenerationRadius6400 | ||
| double | GenerationRadius800 |
Functions
| Type | Name | Description | |
|---|---|---|---|
| double | GetCleanupRadiusFromGrid
(
EPCGHiGenGrid Grid |
Compute the runtime cleanup radius for the given grid size. | |
| double | GetGenerationRadiusFromGrid
(
EPCGHiGenGrid Grid |
Get the runtime generation radius for the given grid size. |
Constants
| Name | Description |
|---|---|
| DefaultCleanupRadiusMultiplier | |
| DefaultGenerationRadiusMultiplier |