Class reference

VisualShaderNodeVectorFunc

Inherits VisualShaderNodeVectorBase

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

Description

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

Properties

int function = 0

The function to be performed.

Constants

FUNC_NORMALIZE = 0

Enum: Function

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

FUNC_SATURATE = 1

Enum: Function

Clamps the value between 0.0 and 1.0.

FUNC_NEGATE = 2

Enum: Function

Returns the opposite value of the parameter.

FUNC_RECIPROCAL = 3

Enum: Function

Returns 1/vector.

FUNC_ABS = 4

Enum: Function

Returns the absolute value of the parameter.

FUNC_ACOS = 5

Enum: Function

Returns the arc-cosine of the parameter.

FUNC_ACOSH = 6

Enum: Function

Returns the inverse hyperbolic cosine of the parameter.

FUNC_ASIN = 7

Enum: Function

Returns the arc-sine of the parameter.

FUNC_ASINH = 8

Enum: Function

Returns the inverse hyperbolic sine of the parameter.

FUNC_ATAN = 9

Enum: Function

Returns the arc-tangent of the parameter.

FUNC_ATANH = 10

Enum: Function

Returns the inverse hyperbolic tangent of the parameter.

FUNC_CEIL = 11

Enum: Function

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

FUNC_COS = 12

Enum: Function

Returns the cosine of the parameter.

FUNC_COSH = 13

Enum: Function

Returns the hyperbolic cosine of the parameter.

FUNC_DEGREES = 14

Enum: Function

Converts a quantity in radians to degrees.

FUNC_EXP = 15

Enum: Function

Base-e Exponential.

FUNC_EXP2 = 16

Enum: Function

Base-2 Exponential.

FUNC_FLOOR = 17

Enum: Function

Finds the nearest integer less than or equal to the parameter.

FUNC_FRACT = 18

Enum: Function

Computes the fractional part of the argument.

FUNC_INVERSE_SQRT = 19

Enum: Function

Returns the inverse of the square root of the parameter.

FUNC_LOG = 20

Enum: Function

Natural logarithm.

FUNC_LOG2 = 21

Enum: Function

Base-2 logarithm.

FUNC_RADIANS = 22

Enum: Function

Converts a quantity in degrees to radians.

FUNC_ROUND = 23

Enum: Function

Finds the nearest integer to the parameter.

FUNC_ROUNDEVEN = 24

Enum: Function

Finds the nearest even integer to the parameter.

FUNC_SIGN = 25

Enum: Function

Extracts the sign of the parameter, i.e. returns -1 if the parameter is negative, 1 if it's positive and 0 otherwise.

FUNC_SIN = 26

Enum: Function

Returns the sine of the parameter.

FUNC_SINH = 27

Enum: Function

Returns the hyperbolic sine of the parameter.

FUNC_SQRT = 28

Enum: Function

Returns the square root of the parameter.

FUNC_TAN = 29

Enum: Function

Returns the tangent of the parameter.

FUNC_TANH = 30

Enum: Function

Returns the hyperbolic tangent of the parameter.

FUNC_TRUNC = 31

Enum: Function

Returns a value equal to the nearest integer to the parameter whose absolute value is not larger than the absolute value of the parameter.

FUNC_ONEMINUS = 32

Enum: Function

Returns 1.0 - vector.

FUNC_MAX = 33

Enum: Function

Represents the size of the Function enum.

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.