Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/RuntimeGen > API/Plugins/PCG/RuntimeGen/GenSources
Inheritance Hierarchy
- UObject
- IPCGGenSourceBase
- UPCGGenSourceEditorCamera
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/RuntimeGen/GenSources/PCGGenSourceEditorCamera.h |
| Include | #include "RuntimeGen/GenSources/PCGGenSourceEditorCamera.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGGenSourceEditorCamera :
public UObject,
public IPCGGenSourceBase
Remarks
This GenerationSource captures active Editor Viewports per tick to provoke RuntimeGeneration. Editor Viewports are not captured by default, but can be enabled on the PCGWorldActor via bTreatEditorViewportAsGenerationSource.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FEditorViewportClient * | EditorViewportClient |
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. |