unreal.MaterialInstancePropertyDiff

class unreal.MaterialInstancePropertyDiff(property_name: Name = 'None', category: MaterialPropertyCategory = Ellipsis, old_value: str = '', new_value: str = '')

Bases: StructBase

A single property difference between two versions of a material instance.

C++ Source:

  • Plugin: MaterialValidation

  • Module: MaterialValidation

  • File: MaterialValidationLibraryTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • category (MaterialPropertyCategory): [Read-Write] Category for the property.

  • new_value (str): [Read-Write] String representation of the value in the new revision. “[Inherited]” if not overridden.

  • old_value (str): [Read-Write] String representation of the value in the old revision. “[Inherited]” if not overridden.

  • property_name (Name): [Read-Write] Human-readable name of the property.

property category: MaterialPropertyCategory

[Read-Only] Category for the property.

Type:

(MaterialPropertyCategory)

property new_value: str

[Read-Only] String representation of the value in the new revision. “[Inherited]” if not overridden.

Type:

(str)

property old_value: str

[Read-Only] String representation of the value in the old revision. “[Inherited]” if not overridden.

Type:

(str)

property property_name: Name

[Read-Only] Human-readable name of the property.

Type:

(Name)