Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
Function
VisualShaderNodeUVFunc.swift:13enum Function
Cases
case panning
Translates
uv
by usingscale
andoffset
values using the following formula:uv = uv + offset * scale
.uv
port is connected toUV
built-in by default.case scaling
Scales
uv
by usingscale
andpivot
values using the following formula:uv = (uv - pivot) * scale + pivot
.uv
port is connected toUV
built-in by default.case max
Represents the size of the
Function
enum.
Other members in extension
Type members
Instance members
var function: VisualShaderNodeUVFunc.Function
A function to be applied to the texture coordinates. See
Function
for options.
Citizens in SwiftGodot
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
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 RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.