VisualShaderNodeFloatParameter
Hérite de : VisualShaderNodeParameter < VisualShaderNode < Resource < RefCounted < Object
A scalar float parameter to be used within the visual shader graph.
Description
Traduit en uniform float dans le langage de shader.
Propriétés
|
||
|
||
|
||
|
||
|
||
|
Énumérations
enum Hint: 🔗
Hint HINT_NONE = 0
Aucun indice utilisé.
Hint HINT_RANGE = 1
A range hint for scalar value, which limits possible input values between min and max. Translated to hint_range(min, max) in shader code.
Hint HINT_RANGE_STEP = 2
A range hint for scalar value with step, which limits possible input values between min and max, with a step (increment) of step). Translated to hint_range(min, max, step) in shader code.
Hint HINT_MAX = 3
Représente la taille de l'énumération Hint.
Descriptions des propriétés
Une valeur par défaut à attribuer dans le shader.
bool default_value_enabled = false 🔗
Active l'utilisation de default_value.
A hint applied to the uniform, which controls the values it can take when set through the Inspector.
Minimum value for range hints. Used if hint is set to HINT_RANGE or HINT_RANGE_STEP.
Maximum value for range hints. Used if hint is set to HINT_RANGE or HINT_RANGE_STEP.
Step (increment) value for the range hint with step. Used if hint is set to HINT_RANGE_STEP.