Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

VisualShaderNodeVectorFunc

Inherits: VisualShaderNodeVectorBase < VisualShaderNode < Resource < RefCounted < Object

A vector function to be used within the visual shader graph.

Description

A visual shader node able to perform different functions using vectors.

Properties

Function

function

0


Enumerations

enum Function:

Function FUNC_NORMALIZE = 0

Normalizes the vector so that it has a length of 1 but points in the same direction.

Function FUNC_SATURATE = 1

Clamps the value between 0.0 and 1.0.

Function FUNC_NEGATE = 2

Returns the opposite value of the parameter.

Function FUNC_RECIPROCAL = 3

Returns 1/vector.

Function FUNC_ABS = 4

Returns the absolute value of the parameter.

Function FUNC_ACOS = 5

Returns the arc-cosine of the parameter.

Function FUNC_ACOSH = 6

Returns the inverse hyperbolic cosine of the parameter.

Function FUNC_ASIN = 7

Returns the arc-sine of the parameter.

Function FUNC_ASINH = 8

Returns the inverse hyperbolic sine of the parameter.

Function FUNC_ATAN = 9

Returns the arc-tangent of the parameter.

Function FUNC_ATANH = 10

Returns the inverse hyperbolic tangent of the parameter.

Function FUNC_CEIL = 11

Finds the nearest integer that is greater than or equal to the parameter.

Function FUNC_COS = 12

Returns the cosine of the parameter.

Function FUNC_COSH = 13

Returns the hyperbolic cosine of the parameter.