VisualShaderNodeScalarDerivativeFunc

Inherits: VisualShaderNode < Resource < Reference < Object

Calculates a scalar derivative within the visual shader graph.

Description

This node is only available in Fragment and Light visual shaders.

Properties

Function

function

0


Enumerations

enum Function:

Function FUNC_SUM = 0

Sum of absolute derivative in x and y.

Function FUNC_X = 1

Derivative in x using local differencing.

Function FUNC_Y = 2

Derivative in y using local differencing.


Property Descriptions

Function function = 0

The derivative type. See Function for options.