class unreal.MaterialExpressionRuntimeVirtualTextureSample(outer=None, name='None')

Bases: unreal.MaterialExpression

Material expression for sampling from a runtime virtual texture.

C++ Source:

  • Module: Engine
  • File: MaterialExpressionRuntimeVirtualTextureSample.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).
  • material_type (RuntimeVirtualTextureMaterialType): [Read-Write] How to interpret the virtual texture contents. Note that the bound Virtual Texture should have the same setting for sampling to work correctly.
  • virtual_texture (RuntimeVirtualTexture): [Read-Write] The virtual texture object to sample.