unreal.TG_Expression_Material

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

Bases: TG_Expression_MaterialBase

TG Expression Material

C++ Source:

  • Plugin: TextureGraph

  • Module: TextureGraph

  • File: TG_Expression_Material.h

Editor Properties: (see get_editor_property/set_editor_property)

  • base_output_settings (TG_TextureDescriptor): [Read-Write] When we will work on Node UI for FOutputSettings we will set the category as TG_Setting

  • input_material (TG_Material): [Read-Write] The input material referenced by this Material node

  • material (MaterialInterface): [Read-Write] deprecated: Use the InputMaterial to specify the Material asset referenced

  • num_warmup_frames (int32): [Read-Write] When Material references VT, can specify the number of warmup frames. Default value is 0 meaning that the CVar <TG.VirtualTexture.NumWarmupFrames> is used instead

  • rendered_attribute (Name): [Read-Write] The Material attribute identifier among all the attributes of the material that is rendered in the output

property material: MaterialInterface

[Read-Write] deprecated: Use the InputMaterial to specify the Material asset referenced

Type:

(MaterialInterface)

property num_warmup_frames: int

[Read-Write] When Material references VT, can specify the number of warmup frames. Default value is 0 meaning that the CVar <TG.VirtualTexture.NumWarmupFrames> is used instead

Type:

(int32)

property rendered_attribute: Name

[Read-Write] The Material attribute identifier among all the attributes of the material that is rendered in the output

Type:

(Name)