unreal.GeometryScript_TextureUtils

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

Bases: BlueprintFunctionLibrary

Geometry Script Library Texture Map Functions

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: TextureMapFunctions.h

classmethod sample_texture2d_at_uv_positions(uv_list, texture, sample_options, debug=None) GeometryScriptColorList

Samples the given TextureMap at the list of UV positions and returns the color at each position in ColorList output.

Parameters:
Returns:

color_list (GeometryScriptColorList):

Return type:

GeometryScriptColorList

classmethod sample_texture_render_target2d_at_uv_positions(uv_list, texture, sample_options, debug=None) GeometryScriptColorList

Sample the the given TextureMap at the list of UV positions and return the color at each position in ColorList output. This function fetches GPU data before sampling so, depending on your application, it can be inefficient and slow!

Parameters:
Returns:

color_list (GeometryScriptColorList):

Return type:

GeometryScriptColorList