unreal.TextureScreptingLibrary¶
- class unreal.TextureScreptingLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryDECLARE_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:
world_context_object (Object)
texture_graph (TextureGraphBase)
overwrite_textures (bool)
save (bool)
export_all (bool)
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
- Return type:
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
- Return type:
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
- Return type:
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
- Return type:
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
- Return type:
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
- Return type:
- classmethod render_texture_graph(world_context_object, texture_graph) Array[TextureRenderTarget2D]¶
Render the texture graph and return an array of texture render targets.
- Parameters:
world_context_object (Object)
texture_graph (TextureGraphBase)
- Return type:
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
parameter_value (bool)
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
parameter_value (LinearColor)
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
parameter_value (float)
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
width (int32)
height (int32)
file_name (Name)
path (Name)
format (TG_TextureFormat)
texture_type (TG_TexturePresetType)
lod_texture_group (TextureGroup)
compression (TextureCompressionSettings)
srgb (bool)
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
parameter_value (str)
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
parameter_value (Texture)
- 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:
world_context_object (Object)
texture_graph (TextureGraph)
parameter_name (Name)
parameter_value (Vector4f)