unreal.PCGProjectionParams

class unreal.PCGProjectionParams(project_positions: bool = False, project_rotations: bool = False, project_scales: bool = False, project_colors: bool = False, attribute_list: str = '', attribute_mode: PCGMetadataFilterMode = Ellipsis, attribute_merge_operation: PCGMetadataOp = 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.

  • project_colors (bool): [Read-Write] Project colors.

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

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

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

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 project_colors: bool

[Read-Write] Project colors.

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)