您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
889 B
889 B
Slider Node
Description
Defines a constant Vector 1 value in the shader using a Slider field. Can be converted to a Vector 1 type Property with a Mode setting of Slider via the Node's context menu.
Ports
Name | Direction | Type | Binding | Description |
---|---|---|---|---|
Out | Output | Vector 1 | None | Output value |
Controls
Name | Type | Options | Description |
---|---|---|---|
Slider | Defines the output value. | ||
Min | Vector 1 | Defines the slider parameter's minimum value. | |
Max | Vector 1 | Defines the slider parameter's maximum value. |
Generated Code Example
The following example code represents one possible outcome of this node.
float _Slider_Out = 1.0;