VisualShaderNodeMultiplyAdd

Inherits: VisualShaderNode < Resource < RefCounted < Object

Performs a fused multiply-add operation within the visual shader graph.

Description

Uses three operands to compute (a * b + c) expression.

Properties

OpType

op_type

0

Enumerations

enum OpType:

  • OP_TYPE_SCALAR = 0 --- A scalar type.

  • OP_TYPE_VECTOR = 1 --- A vector type.

  • OP_TYPE_MAX = 2 --- Represents the size of the OpType enum.

Property Descriptions

Default

0

Setter

set_op_type(value)

Getter

get_op_type()

A type of operands and returned value.