unreal.PCGMetadataMathsSettings

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

Bases: PCGMetadataSettingsBase

PCGMetadata Maths Settings

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGMetadataMathsOpElement.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • category (Text): [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]

  • force_op_to_double (bool): [Read-Write] For operations that can yield floating point values, if the input type are ints, use this option to force the output attribute to be double.

  • force_rounding_op_to_int (bool): [Read-Write] For rounding operation, if the input type is float or double, use this option to force the output attribute to be int64.

  • input_source1 (PCGAttributePropertyInputSelector): [Read-Write]

  • input_source2 (PCGAttributePropertyInputSelector): [Read-Write]

  • input_source3 (PCGAttributePropertyInputSelector): [Read-Write]

  • operation (PCGMetadataMathsOperation): [Read-Write]

  • output_data_from_pin (Name): [Read-Write] By default, output is taken from first non-param pin (aka if the second pin is a point data, the output will be this point data). You can change it to any available input pin.

  • output_target (PCGAttributePropertyOutputSelector): [Read-Write]

  • 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 force_op_to_double: bool

[Read-Write] For operations that can yield floating point values, if the input type are ints, use this option to force the output attribute to be double.

Type:

(bool)

property force_rounding_op_to_int: bool

[Read-Write] For rounding operation, if the input type is float or double, use this option to force the output attribute to be int64.

Type:

(bool)

property input_source1: PCGAttributePropertyInputSelector

[Read-Write]

Type:

(PCGAttributePropertyInputSelector)

property input_source2: PCGAttributePropertyInputSelector

[Read-Write]

Type:

(PCGAttributePropertyInputSelector)

property input_source3: PCGAttributePropertyInputSelector

[Read-Write]

Type:

(PCGAttributePropertyInputSelector)

property operation: PCGMetadataMathsOperation

[Read-Write]

Type:

(PCGMetadataMathsOperation)