VisualShaderNodeTransformMult

Inherits: VisualShaderNode < Resource < Reference < Object

Multiplies Transform by Transform within the visual shader graph.

Description

A multiplication operation on two transforms (4x4 matrices), with support for different multiplication operators.

Properties

Operator operator 0

Enumerations

enum Operator:

  • OP_AxB = 0 --- Multiplies transform a by the transform b.
  • OP_BxA = 1 --- Multiplies transform b by the transform a.
  • OP_AxB_COMP = 2 --- Performs a component-wise multiplication of transform a by the transform b.
  • OP_BxA_COMP = 3 --- Performs a component-wise multiplication of transform b by the transform a.

Property Descriptions

Operator operator

Default 0
Setter set_operator(value)
Getter get_operator()

The multiplication type to be performed on the transforms. See Operator for options.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualshadernodetransformmult.html