Click or drag to resize

VisualShaderNodeGlobalExpression Properties

The VisualShaderNodeGlobalExpression type exposes the following members.

Properties
  NameDescription
Public propertyDefaultInputValues (Inherited from VisualShaderNode.)
Public propertyDynamicObject
Gets a new DynamicGodotObject associated with this instance.
(Inherited from Object.)
Public propertyExpression

An expression in Godot Shading Language, which will be injected at the start of the graph's matching shader function (vertex, fragment, or light), and thus cannot be used to declare functions, varyings, uniforms, or global constants.

(Inherited from VisualShaderNodeExpression.)
Public propertyNativeInstance (Inherited from Object.)
Public propertyOutputPortForPreview

Sets the output port index which will be showed for preview. If set to -1 no port will be open for preview.

(Inherited from VisualShaderNode.)
Public propertyResourceLocalToScene

If true, the resource will be made unique in each instance of its local scene. It can thus be modified in a scene instance without impacting other instances of that same scene.

(Inherited from Resource.)
Public propertyResourceName

The name of the resource. This is an optional identifier. If ResourceName is not empty, its value will be displayed to represent the current resource in the editor inspector. For built-in scripts, the ResourceName will be displayed as the tab name in the script editor.

(Inherited from Resource.)
Public propertyResourcePath

The path to the resource. In case it has its own file, it will return its filepath. If it's tied to the scene, it will return the scene's path, followed by the resource's index.

(Inherited from Resource.)
Public propertySize

The size of the node in the visual shader graph.

(Inherited from VisualShaderNodeGroupBase.)
Top
See Also