unreal.MaterialExpressionMaterialCache

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

Bases: MaterialExpressionCustomOutput

Material Expression Material Cache

C++ Source:

  • Module: Engine

  • File: MaterialExpressionMaterialCache.h

Editor Properties: (see get_editor_property/set_editor_property)

  • desc (str): [Read-Write] A description that level designers can add (shows in the material editor UI).

  • is_sample (bool): [Read-Write] Is this a material cache sample? Sample expressions do not output to the cache, and may sample the cache of other primitives

  • material_expression_editor_x (int32): [Read-Write]

  • material_expression_editor_y (int32): [Read-Write]

  • tag (MaterialCacheVirtualTextureTag): [Read-Write] Optional, the tag of the cache to read/write