VisualShaderNodeTransformVecMult

Inherits: VisualShaderNode < Resource < Reference < Object

Multiplies a Transform and a Vector3 within the visual shader graph.

Description

A multiplication operation on a transform (4x4 matrix) and a vector, with support for different multiplication operators.

Properties

Operator operator 0

Enumerations

enum Operator:

  • OP_AxB = 0 --- Multiplies transform a by the vector b.
  • OP_BxA = 1 --- Multiplies vector b by the transform a.
  • OP_3x3_AxB = 2 --- Multiplies transform a by the vector b, skipping the last row and column of the transform.
  • OP_3x3_BxA = 3 --- Multiplies vector b by the transform a, skipping the last row and column of the transform.

Property Descriptions

Operator operator

Default 0
Setter set_operator(value)
Getter get_operator()

The multiplication type to be performed. 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_visualshadernodetransformvecmult.html