unreal.PCGProjectionParams

class unreal.PCGProjectionParams(project_positions: bool = False, project_rotations: bool = False, project_scales: bool = False, color_blend_mode: PCGProjectionColorBlendMode = Ellipsis, attribute_list: str = '', attribute_mode: PCGMetadataFilterMode = Ellipsis, attribute_merge_operation: PCGMetadataOp = Ellipsis, tag_merge_operation: PCGProjectionTagMergeMode = Ellipsis)

Bases: StructBase

Parameters that control projection behaviour.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGProjectionParams.h

Editor Properties: (see get_editor_property/set_editor_property)

  • attribute_list (str): [Read-Write] Attributes to either explicitly exclude or include in the projection operation, depending on the Attribute Mode setting. Leave empty to gather all attributes and their values. Format is comma separated list like: Attribute1,Attribute2 .

  • attribute_merge_operation (PCGMetadataOp): [Read-Write] Operation to use to combine attributes that reside on both source and target data.

  • attribute_mode (PCGMetadataFilterMode): [Read-Write] How the attribute list is used. Exclude Attributes will ignore these attributes and their values on the projection target.

  • color_blend_mode (PCGProjectionColorBlendMode): [Read-Write] The blend mode for colors during the projection

  • project_colors (bool): [Read-Write] deprecated: Property ‘bProjectColors’ is deprecated.

  • project_positions (bool): [Read-Write] Project positions.

  • project_rotations (bool): [Read-Write] Project rotations.

  • project_scales (bool): [Read-Write] Project scales.

  • tag_merge_operation (PCGProjectionTagMergeMode): [Read-Write] Controls whether the data tags are taken from the source, the target or both.

property attribute_list: str

Attribute1,Attribute2 .

Type:

(str)

Type:

[Read-Write] Attributes to either explicitly exclude or include in the projection operation, depending on the Attribute Mode setting. Leave empty to gather all attributes and their values. Format is comma separated list like

property attribute_merge_operation: PCGMetadataOp

[Read-Write] Operation to use to combine attributes that reside on both source and target data.

Type:

(PCGMetadataOp)

property attribute_mode: PCGMetadataFilterMode

[Read-Write] How the attribute list is used. Exclude Attributes will ignore these attributes and their values on the projection target.

Type:

(PCGMetadataFilterMode)

property color_blend_mode: PCGProjectionColorBlendMode

[Read-Write] The blend mode for colors during the projection

Type:

(PCGProjectionColorBlendMode)

property project_colors: bool

[Read-Write] deprecated: Property ‘bProjectColors’ is deprecated.

Type:

(bool)

property project_positions: bool

[Read-Write] Project positions.

Type:

(bool)

property project_rotations: bool

[Read-Write] Project rotations.

Type:

(bool)

property project_scales: bool

[Read-Write] Project scales.

Type:

(bool)

property tag_merge_operation: PCGProjectionTagMergeMode

[Read-Write] Controls whether the data tags are taken from the source, the target or both.

Type:

(PCGProjectionTagMergeMode)