unreal.PCGBlueprintHelpers
¶
- class unreal.PCGBlueprintHelpers(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
PCGBlueprint Helpers
C++ Source:
Plugin: PCG
Module: PCG
File: PCGBlueprintHelpers.h
- classmethod compute_seed_from_position(position) int32 ¶
Compute Seed from Position
- Parameters:
position (Vector) –
- Return type:
int32
- classmethod get_actor_bounds_pcg(actor, ignore_pcg_created_components=True) Box ¶
Get Actor Bounds PCG
- classmethod get_actor_data(context) -> (PCGData, context=PCGContext)¶
Get Actor Data
- Parameters:
context (PCGContext) –
- Returns:
context (PCGContext):
- Return type:
- classmethod get_actor_local_bounds_pcg(actor, ignore_pcg_created_components=True) Box ¶
Get Actor Local Bounds PCG
- classmethod get_component(context) -> (PCGComponent, context=PCGContext)¶
Get Component
- Parameters:
context (PCGContext) –
- Returns:
context (PCGContext):
- Return type:
- classmethod get_input_data(context) -> (PCGData, context=PCGContext)¶
Get Input Data
- Parameters:
context (PCGContext) –
- Returns:
context (PCGContext):
- Return type:
- classmethod get_interpolated_pcg_landscape_layer_weights(world_context_object, location) Array[PCGLandscapeLayerWeight] ¶
Get Interpolated PCGLandscape Layer Weights
- Parameters:
- Return type:
- classmethod get_original_component(context) -> (PCGComponent, context=PCGContext)¶
Get Original Component
- Parameters:
context (PCGContext) –
- Returns:
context (PCGContext):
- Return type:
- classmethod get_random_stream(point, optional_settings=None, optional_component=None) RandomStream ¶
Creates a random stream from a point’s seed and settings/component’s seed (optional)
- Parameters:
point (PCGPoint) –
optional_settings (PCGSettings) –
optional_component (PCGComponent) –
- Return type:
- classmethod get_settings(context) -> (PCGSettings, context=PCGContext)¶
Get Settings
- Parameters:
context (PCGContext) –
- Returns:
context (PCGContext):
- Return type:
- classmethod get_task_id(context) -> (int64, context=PCGContext)¶
Get Task Id
- Parameters:
context (PCGContext) –
- Returns:
context (PCGContext):
- Return type: