unreal.TextureScreptingLibrary

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

Bases: BlueprintFunctionLibrary

DECLARE_DYNAMIC_DELEGATE_OneParam(FOnTextureGraphRenderDone, UTextureRenderTarget2D*, Results); DECLARE_DELEGATE_TwoParams(FOnGroomBindingAssetBuildCompleteNative, UGroomBindingAsset*, EGroomBindingAssetBuildResult);

C++ Source:

  • Plugin: TextureGraph

  • Module: TextureGraph

  • File: TG_BlueprintFunctionLibrary.h

classmethod export_texture_graph(world_context_object, texture_graph, overwrite_textures=True, save=False, export_all=False) None

Export texture graph.

Parameters:
classmethod get_bool_parameter_value(world_context_object, texture_graph, parameter_name) bool

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

Parameters:
Return type:

bool

classmethod get_color_parameter_value(world_context_object, texture_graph, 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_graph, 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_graph, 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_string_parameter_value(world_context_object, texture_graph, parameter_name) str

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

Parameters:
Return type:

str

classmethod get_texture_parameter_value(world_context_object, texture_graph, 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_graph, parameter_name) Vector4f

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

Parameters:
Return type:

Vector4f

classmethod render_texture_graph(world_context_object, texture_graph) Array[TextureRenderTarget2D]

Render the texture graph and return an array of texture render targets.

Parameters:
Return type:

Array[TextureRenderTarget2D]

classmethod set_bool_parameter_value(world_context_object, texture_graph, parameter_name, parameter_value) None

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

Parameters:
classmethod set_color_parameter_value(world_context_object, texture_graph, 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_graph, 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_graph, 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_string_parameter_value(world_context_object, texture_graph, parameter_name, parameter_value) None

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

Parameters:
classmethod set_texture_parameter_value(world_context_object, texture_graph, 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_graph, parameter_name, parameter_value) None

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

Parameters: