unreal.PCGPinPropertiesGPUStruct

class unreal.PCGPinPropertiesGPUStruct(initialization_mode: PCGPinInitMode = Ellipsis, pins_to_inititalize_from: None = [], data_count_mode: PCGDataCountMode = Ellipsis, data_multiplicity: PCGDataMultiplicity = Ellipsis, data_count: int = 0, element_count_mode: PCGElementCountMode = Ellipsis, element_multiplicity: PCGElementMultiplicity = Ellipsis, element_count: int = 0, num_elements2d: IntPoint = Ellipsis, element_count_multiplier: int = 0, attribute_inheritance_mode: PCGAttributeInheritanceMode = Ellipsis)

Bases: StructBase

Helper struct to nest GPU pin properties inside a UI category.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGPinPropertiesGPU.h

Editor Properties: (see get_editor_property/set_editor_property)

  • attribute_inheritance_mode (PCGAttributeInheritanceMode): [Read-Write] How to inherit attribute names, types, and values.

  • created_kernel_attribute_keys (Array[PCGKernelAttributeKey]): [Read-Write] Add entries to create new attributes on data emitted by this pin.

  • data_count (int32): [Read-Write] Number of data to create.

  • data_count_mode (PCGDataCountMode): [Read-Write] How the number of data is determined.

  • data_multiplicity (PCGDataMultiplicity): [Read-Write] How to combine data counts.

  • element_count (int32): [Read-Write] Fixed number of elements to create in each output data.

  • element_count_mode (PCGElementCountMode): [Read-Write] How the number of elements is determined.

  • element_count_multiplier (int32): [Read-Write] Scalar on the fixed number of elements to create in each output data.

  • element_multiplicity (PCGElementMultiplicity): [Read-Write] How to combine element counts.

  • initialization_mode (PCGPinInitMode): [Read-Write] How the output data for this pin will be initialized.

  • num_elements2d (IntPoint): [Read-Write] Fixed number of elements to create in each output data.

  • pins_to_inititalize_from (Array[Name]): [Read-Write] Input pins to initialize this pin’s data from.

property attribute_inheritance_mode: PCGAttributeInheritanceMode

[Read-Write] How to inherit attribute names, types, and values.

Type:

(PCGAttributeInheritanceMode)

property data_count: int

[Read-Write] Number of data to create.

Type:

(int32)

property data_count_mode: PCGDataCountMode

[Read-Write] How the number of data is determined.

Type:

(PCGDataCountMode)

property data_multiplicity: PCGDataMultiplicity

[Read-Write] How to combine data counts.

Type:

(PCGDataMultiplicity)

property element_count: int

[Read-Write] Fixed number of elements to create in each output data.

Type:

(int32)

property element_count_mode: PCGElementCountMode

[Read-Write] How the number of elements is determined.

Type:

(PCGElementCountMode)

property element_count_multiplier: int

[Read-Write] Scalar on the fixed number of elements to create in each output data.

Type:

(int32)

property element_multiplicity: PCGElementMultiplicity

[Read-Write] How to combine element counts.

Type:

(PCGElementMultiplicity)

property initialization_mode: PCGPinInitMode

[Read-Write] How the output data for this pin will be initialized.

Type:

(PCGPinInitMode)

property num_elements2d: IntPoint

[Read-Write] Fixed number of elements to create in each output data.

Type:

(IntPoint)

property pins_to_inititalize_from: None

[Read-Write] Input pins to initialize this pin’s data from.

Type:

(Array[Name])