Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/RuntimeGen > API/Plugins/PCG/RuntimeGen/GenSources
Inheritance Hierarchy
- UObject
- IPCGGenSourceBase
- UPCGGenSourceWPStreamingSource
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/RuntimeGen/GenSources/PCGGenSourceWPStreamingSource.h |
| Include | #include "RuntimeGen/GenSources/PCGGenSourceWPStreamingSource.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGGenSourceWPStreamingSource :
public UObject,
public IPCGGenSourceBase
Remarks
This GenerationSource captures WorldPartitionStreamingSources for RuntimeGeneration.
UPCGGenSourceWPStreamingSources are created per tick and live only until the end of the tick.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FWorldPartitionStreamingSource * | StreamingSource |
Overridden from IPCGGenSourceBase
| Type | Name | Description | |
|---|---|---|---|
| TOptional< FVector > | GetDirection () |
Returns the normalized forward vector of this gen source. | |
| TOptional< FVector > | GetPosition () |
Returns the world space position of this gen source. |