Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

VisualShaderNodeTransformVecMult

Inherits: VisualShaderNode < Resource < RefCounted < Object

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

Description

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

Properties

Operator

operator

0


Enumerations

enum Operator: 🔗

Operator OP_AxB = 0

Multiplies transform a by the vector b.

Operator OP_BxA = 1

Multiplies vector b by the transform a.

Operator OP_3x3_AxB = 2

Multiplies transform a by the vector b, skipping the last row and column of the transform.

Operator OP_3x3_BxA = 3

Multiplies vector b by the transform a, skipping the last row and column of the transform.

Operator OP_MAX = 4

Represents the size of the Operator enum.


Property Descriptions

Operator operator = 0 🔗

The multiplication type to be performed. See Operator for options.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.