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:
world_context_object (Object) –
texture_script (TextureGraph) –
parameter_name (Name) –
- Return type:
- 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:
world_context_object (Object) –
texture_script (TextureGraph) –
parameter_name (Name) –
- Return type:
- 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:
world_context_object (Object) –
texture_script (TextureGraph) –
parameter_name (Name) –
- 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:
world_context_object (Object) –
texture_script (TextureGraph) –
parameter_name (Name) –
- Return type:
- 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:
world_context_object (Object) –
texture_script (TextureGraph) –
parameter_name (Name) –
- Return type:
- 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:
world_context_object (Object) –
texture_script (TextureGraph) –
parameter_name (Name) –
parameter_value (LinearColor) –
- 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:
world_context_object (Object) –
texture_script (TextureGraph) –
parameter_name (Name) –
parameter_value (float) –
- 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:
world_context_object (Object) –
texture_script (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_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:
world_context_object (Object) –
texture_script (TextureGraph) –
parameter_name (Name) –
parameter_value (Texture) –
- 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:
world_context_object (Object) –
texture_script (TextureGraph) –
parameter_name (Name) –
parameter_value (LinearColor) –