From 94c6817b51fa175a337420cd18cb9313fbc5889b Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Sun, 1 Aug 2021 18:13:51 +0300 Subject: Makes dictionary instead of string for visual shader version Update doc/classes/VisualShader.xml Co-authored-by: Hugo Locurcio --- doc/classes/VisualShader.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/classes/VisualShader.xml b/doc/classes/VisualShader.xml index 6f65f32ed5..cdb9de4f86 100644 --- a/doc/classes/VisualShader.xml +++ b/doc/classes/VisualShader.xml @@ -146,11 +146,13 @@ + + The Godot version this [VisualShader] was designed for, in the form of a [Dictionary] with [code]major[/code] and [code]minor[/code] keys with integer values. Example: [code]{"major": 4, "minor": 0}[/code] + This is used by the editor to convert visual shaders from older Godot versions. + The offset vector of the whole graph. - - -- cgit v1.2.3