unreal.TextureScreptingLibrary

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

Bases: BlueprintFunctionLibrary

TG Blueprint Function Library

C++ Source:

  • Plugin: TextureGraph

  • Module: TextureGraph

  • File: TG_BlueprintFunctionLibrary.h

classmethod get_color_parameter_value(world_context_object, texture_script, parameter_name) LinearColor

Gets a color parameter value from the TextureGraph instance. Logs if ParameterName is invalid.

Parameters:
Return type:

LinearColor

classmethod get_scalar_parameter_value(world_context_object, texture_script, parameter_name) float

Gets a scalar parameter value from the TextureGraph instance. Logs if ParameterName is invalid.

Parameters:
Return type:

float

classmethod get_settings_parameter_value(world_context_object, texture_script, parameter_name) -> (TG_OutputSettings, width=int32, height=int32)

Gets a FTG_OutputSettings parameter value from the TextureGraph instance. Logs if ParameterName is invalid.

Parameters:
Returns:

width (int32):

height (int32):

Return type:

tuple

classmethod get_texture_parameter_value(world_context_object, texture_script, parameter_name) Texture

Gets a texture parameter value from the TextureGraph instance. Logs if ParameterName is invalid.

Parameters:
Return type:

Texture

classmethod get_vector_parameter_value(world_context_object, texture_script, parameter_name) LinearColor

Gets a Vector parameter value from the TextureGraph instance. Logs if ParameterName is invalid.

Parameters:
Return type:

LinearColor

classmethod set_color_parameter_value(world_context_object, texture_script, parameter_name, parameter_value) None

Sets a color parameter value on the TextureGraph instance. Logs if ParameterName is invalid.

Parameters:
classmethod set_scalar_parameter_value(world_context_object, texture_script, parameter_name, parameter_value) None

Sets a scalar parameter value on the TextureGraph instance. Logs if ParameterName is invalid.

Parameters:
classmethod set_settings_parameter_value(world_context_object, texture_script, parameter_name, width, height, file_name='None', path='None', format=TG_TextureFormat.BGRA8, texture_type=TG_TexturePresetType.NONE, lod_texture_group=TextureGroup.TEXTUREGROUP_WORLD, compression=TextureCompressionSettings.TC_DEFAULT, srgb=False) None

Sets a FTG_OutputSettings parameter value on the TextureGraph instance. Logs if ParameterName is invalid.

Parameters:
classmethod set_texture_parameter_value(world_context_object, texture_script, parameter_name, parameter_value) None

Sets a Texture parameter value on the TextureGraph instance. Logs if ParameterName is invalid.

Parameters:
classmethod set_vector_parameter_value(world_context_object, texture_script, parameter_name, parameter_value) None

Sets a Vector parameter value on the TextureGraph instance. Logs if ParameterName is invalid.

Parameters: