Up to date

This page is up to date for Redot 4.3. If you still find outdated information, please create an issue.

VisualShaderNodeVec3Parameter

Inherits: VisualShaderNodeParameter < VisualShaderNode < Resource < RefCounted < Object

A Vector3 parameter to be used within the visual shader graph.

Description

Translated to uniform vec3 in the shader language.

Properties

Vector3

default_value

Vector3(0, 0, 0)

bool

default_value_enabled

false


Property Descriptions

Vector3 default_value = Vector3(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.