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.

VisualShaderNodeTransformParameter

Inherits: VisualShaderNodeParameter < VisualShaderNode < Resource < RefCounted < Object

A Transform3D parameter for use within the visual shader graph.

Description

Translated to uniform mat4 in the shader language.

Properties

Transform3D

default_value

Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)

bool

default_value_enabled

false


Property Descriptions

Transform3D default_value = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) 🔗

A default value to be assigned within the shader.


bool default_value_enabled = false 🔗

  • void set_default_value_enabled(value: bool)

  • bool is_default_value_enabled()

Enables usage of the default_value.


User-contributed notes

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