VisualShaderNode

Base class for nodes in a visual shader graph.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

Constants
enum Constants
PortType
enum PortType

Functions

getDefaultInputValues
Array getDefaultInputValues()

Returns an Array containing default values for all of the input ports of the node in the form $(D index0, value0, index1, value1, ...).

getInputPortDefaultValue
Variant getInputPortDefaultValue(long port)

Returns the default value of the input port.

getOutputPortForPreview
long getOutputPortForPreview()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(VisualShaderNode other)
opEquals
bool opEquals(typeof(null) n)
setDefaultInputValues
void setDefaultInputValues(Array values)

Sets the default input ports values using an Array of the form $(D index0, value0, index1, value1, ...). For example: $(D 0, Vector3(0, 0, 0), 1, Vector3(0, 0, 0)).

setInputPortDefaultValue
void setInputPortDefaultValue(long port, VariantArg1 value)

Sets the default value for the selected input port.

setOutputPortForPreview
void setOutputPortForPreview(long port)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

defaultInputValues
Array defaultInputValues [@property getter]
Array defaultInputValues [@property setter]
outputPortForPreview
long outputPortForPreview [@property getter]
long outputPortForPreview [@property setter]

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

Static functions

_new
VisualShaderNode _new()

Construct a new instance of VisualShaderNode. Note: use memnew!VisualShaderNode instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta