Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

VisualShaderNodeVec3Parameter

Inherits: VisualShaderNodeParameter < VisualShaderNode < Resource < RefCounted < Object

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

描述

Translated to uniform vec3 in the shader language.

属性

Vector3

default_value

Vector3(0, 0, 0)

bool

default_value_enabled

false


Property Descriptions

Vector3 default_value = Vector3(0, 0, 0)

  • void set_default_value ( Vector3 value )

  • Vector3 get_default_value ( )

A default value to be assigned within the shader.


bool default_value_enabled = false

  • void set_default_value_enabled ( bool value )

  • bool is_default_value_enabled ( )

Enables usage of the default_value.