unreal.PCGCreateSplineSettings

class unreal.PCGCreateSplineSettings(outer: Object | None = None, name: Name | str = 'None')

Bases: PCGSettings

PCG node that creates a spline presentation from the input points data, with optional tangents

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGCreateSpline.h

Editor Properties: (see get_editor_property/set_editor_property)

  • apply_custom_tangents (bool): [Read-Write] Allow to specify custom tangents for each point, as an attribute. Can’t be set if the spline is linear.

  • arrive_tangent_attribute (Name): [Read-Write]

  • attach_options (PCGAttachOptions): [Read-Write]

  • break_debugger (bool): [Read-Write] If a debugger is attached, triggers a breakpoint inside IPCGElement::Execute(). Editor only. Transient.

  • category (Text): [Read-Write]

  • closed_loop (bool): [Read-Write]

  • debug (bool): [Read-Write]

  • debug_settings (PCGDebugVisualizationSettings): [Read-Write]

  • description (Text): [Read-Write]

  • determinism_settings (PCGDeterminismSettings): [Read-Write]

  • enabled (bool): [Read-Write]

  • expose_to_library (bool): [Read-Write]

  • leave_tangent_attribute (Name): [Read-Write]

  • linear (bool): [Read-Write] Controls whether the segment between control points is a curve (when false) or a straight line (when true).

  • mode (PCGCreateSplineMode): [Read-Write]

  • post_process_function_names (Array[Name]): [Read-Write] Specify a list of functions to be called on the target actor after spline creation. Functions need to be parameter-less and with “CallInEditor” flag enabled.

  • seed (int32): [Read-Write]

  • use_seed (bool): [Read-Only] By default, settings won’t use a seed. Set this bool to true in the child ctor to allow edition and use it.

property apply_custom_tangents: bool

[Read-Write] Allow to specify custom tangents for each point, as an attribute. Can’t be set if the spline is linear.

Type:

(bool)

property arrive_tangent_attribute: Name

[Read-Write]

Type:

(Name)

property attach_options: PCGAttachOptions

[Read-Write]

Type:

(PCGAttachOptions)

property closed_loop: bool

[Read-Write]

Type:

(bool)

property leave_tangent_attribute: Name

[Read-Write]

Type:

(Name)

property linear: bool

[Read-Write] Controls whether the segment between control points is a curve (when false) or a straight line (when true).

Type:

(bool)

property mode: PCGCreateSplineMode

[Read-Write]

Type:

(PCGCreateSplineMode)

property post_process_function_names: None

[Read-Write] Specify a list of functions to be called on the target actor after spline creation. Functions need to be parameter-less and with “CallInEditor” flag enabled.

Type:

(Array[Name])