public abstract class VisualShaderNode : Resource

Inheritance Chain

Derived Classes

Signals

    "editor_refresh_request" ()

Properties

    public Collections.Array DefaultInputValues { get; set; }

    public int OutputPortForPreview { get; set; }

Methods

    public object GetInputPortDefaultValue(int port)

    [Obsolete("GetOutputPortForPreview is deprecated. Use the OutputPortForPreview property instead.")]
    public int GetOutputPortForPreview()

Getter for OutputPortForPreview

    public void SetInputPortDefaultValue(int port, object value)

    [Obsolete("SetOutputPortForPreview is deprecated. Use the OutputPortForPreview property instead.")]
    public void SetOutputPortForPreview(int port)

Setter for OutputPortForPreview

Inner Types

PortType

Name Value Description
Scalar 0 Floating-point scalar. Translated to [code]float[/code] type in shader code.
Vector 1 3D vector of floating-point values. Translated to [code]vec3[/code] type in shader code.
Boolean 2 Boolean type. Translated to [code]bool[/code] type in shader code.
Transform 3 Transform type. Translated to [code]mat4[/code] type in shader code.
Sampler 4 Sampler type. Translated to reference of sampler uniform in shader code. Can only be used for input ports in non-uniform nodes.
Max 5 Represents the size of the [enum PortType] enum.
Tags: