Table of Contents

Class VisualShaderNodeDerivativeFunc

Calculates a derivative within the visual shader graph.

Inheritance
VisualShaderNodeDerivativeFunc

Remarks

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

Properties

function

A derivative function type. See Function for options.

var function : int = 0

Property Value

int

Remarks

  • void set_function(int value)
  • int get_function

op_type

A type of operands and returned value. See OpType for options.

var op_type : int = 0

Property Value

int

Remarks

  • void set_op_type(int value)
  • int get_op_type

precision

Sets the level of precision to use for the derivative function. See Precision for options. When using the Compatibility renderer, this setting has no effect.

var precision : int = 0

Property Value

int

Remarks

  • void set_precision(int value)
  • int get_precision