Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
Hint
VisualShaderNodeIntParameter.swift:13enum Hint
Cases
case none
The parameter will not constrain its value.
case range
The parameter’s value must be within the specified
min
/max
range.case rangeStep
The parameter’s value must be within the specified range, with the given
step
between values.case max
Represents the size of the
Hint
enum.
Other members in extension
Type members
Instance members
var defaultValue: Int32
Default value of this parameter, which will be used if not set externally.
defaultValueEnabled
must be enabled; defaults to0
otherwise.var defaultValueEnabled: Bool
If
true
, the node will have a custom default value.var hint: VisualShaderNodeIntParameter.Hint
Range hint of this node. Use it to customize valid parameter range.
var max: Int32
The maximum value this parameter can take.
hint
must be either .range or .rangeStep for this to take effect.var min: Int32
The minimum value this parameter can take.
hint
must be either .range or .rangeStep for this to take effect.var step: Int32
The step between parameter’s values. Forces the parameter to be a multiple of the given value.
hint
must be .rangeStep for this to take effect.
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.