unreal.TG_Expression_MaterialFunction

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

Bases: TG_Expression_MaterialBase

TG Expression Material Function

C++ Source:

  • Plugin: TextureGraph

  • Module: TextureGraph

  • File: TG_Expression_MaterialFunction.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

  • material_function (MaterialFunctionInterface): [Read-Write] The material function to employ for rendering

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

property material_function: MaterialFunctionInterface

[Read-Write] The material function to employ for rendering

Type:

(MaterialFunctionInterface)

property num_warmup_frames: int

[Read-Write] When MaterialFunction 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)