VisualShaderNodeParameter
A base type for the parameters within the visual shader graph.
VisualShaderNodeParameter.swift:11class VisualShaderNodeParameter
A parameter represents a variable in the shader which is set externally, i.e. from the ShaderMaterial
. Parameters are exposed as properties in the ShaderMaterial
and can be assigned from the Inspector or from a script.
Superclasses
class VisualShaderNode
Base class for
VisualShader
nodes. Not related to scene nodes.
Citizens in SwiftGodot
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Identifiable<ID>
A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable
Types that conform to VariantRepresentable can be stored directly in
Variant
with no conversion. These include all of the Variant types from Godot (for exampleGString
,Rect
,Plane
), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.protocol VariantStorable
Types that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
Types
Type members
Instance members
var parameterName: String
Name of the parameter, by which it can be accessed through the
ShaderMaterial
properties.var qualifier: VisualShaderNodeParameter.Qualifier
Defines the scope of the parameter.
Subclasses
class VisualShaderNodeBooleanParameter
A boolean parameter to be used within the visual shader graph.
class VisualShaderNodeColorParameter
A
Color
parameter to be used within the visual shader graph.class VisualShaderNodeFloatParameter
A scalar float parameter to be used within the visual shader graph.
class VisualShaderNodeIntParameter
A visual shader node for shader parameter (uniform) of type integer.
class VisualShaderNodeTextureParameter
Performs a uniform texture lookup within the visual shader graph.
class VisualShaderNodeTransformParameter
A
Transform3D
parameter for use within the visual shader graph.class VisualShaderNodeUIntParameter
A visual shader node for shader parameter (uniform) of type unsigned integer.
class VisualShaderNodeVec2Parameter
A
Vector2
parameter to be used within the visual shader graph.class VisualShaderNodeVec3Parameter
A
Vector3
parameter to be used within the visual shader graph.class VisualShaderNodeVec4Parameter
A 4D vector parameter to be used within the visual shader graph.