VisualShaderNodeUVFunc¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
Contains functions to modify texture coordinates (uv
) to be used within the visual shader graph.
Properties¶
|
Enumerations¶
enum Function:
FUNC_PANNING = 0 --- Translates
uv
by usingscale
andoffset
values using the following formula:uv = uv + offset * scale
.uv
port is connected toUV
built-in by default.FUNC_SCALING = 1 --- Scales
uv[/uv] by using [code]scale
andpivot
values using the following formula:uv = (uv - pivot) * scale + pivot
.uv
port is connected toUV
built-in by default.FUNC_MAX = 2 --- Represents the size of the Function enum.
Property Descriptions¶
Function function
Default |
|
Setter |
set_function(value) |
Getter |
get_function() |
A function to be applied to the texture coordinates. See Function for options.