unreal.PCGPinProperties

class unreal.PCGPinProperties(label: Name = 'None', allow_multiple_data: bool = False, allow_multiple_connections: bool = False, is_advanced_pin: bool = False, allowed_type: PCGExclusiveDataType = Ellipsis)

Bases: StructBase

PCGPin Properties

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGPin.h

Editor Properties: (see get_editor_property/set_editor_property)

  • advanced_pin (bool): [Read-Write] Advanced pin will be hidden by default in the UI and will be shown only if the user extend the node (in the UI) to see advanced pins. deprecated: Use IsAdvancedPin function or PinStatus property.

  • allow_multiple_connections (bool): [Read-Write]

  • allow_multiple_data (bool): [Read-Write]

  • allowed_types (PCGDataType): [Read-Write]

  • invisible_pin (bool): [Read-Write]

  • label (Name): [Read-Write]

  • pin_status (PCGPinStatus): [Read-Write] Define the status of a given pin (Normal, Required or Advanced)

  • tooltip (Text): [Read-Write]

  • usage (PCGPinUsage): [Read-Write]

property advanced_pin: bool

[Read-Write] Advanced pin will be hidden by default in the UI and will be shown only if the user extend the node (in the UI) to see advanced pins. deprecated: Use IsAdvancedPin function or PinStatus property.

Type:

(bool)

property allow_multiple_connections: bool

[Read-Write]

Type:

(bool)

property allow_multiple_data: bool

[Read-Write]

Type:

(bool)

property allowed_types: PCGDataType

[Read-Write]

Type:

(PCGDataType)

allows_multiple_connections() bool

Allows Multiple Connections

Return type:

bool

property invisible_pin: bool

[Read-Write]

Type:

(bool)

is_advanced_pin() bool

Is Advanced Pin

Return type:

bool

is_normal_pin() bool

Is Normal Pin

Return type:

bool

is_required_pin() bool

Is Required Pin

Return type:

bool

property label: Name

[Read-Write]

Type:

(Name)

property pin_status: PCGPinStatus

[Read-Write] Define the status of a given pin (Normal, Required or Advanced)

Type:

(PCGPinStatus)

set_advanced_pin() None

Set Advanced Pin

set_allow_multiple_connections(allow_multiple_connections) None

Set Allow Multiple Connections

Parameters:

allow_multiple_connections (bool) –

set_normal_pin() None

Set Normal Pin

set_required_pin() None

Set Required Pin

property usage: PCGPinUsage

[Read-Write]

Type:

(PCGPinUsage)