Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

VisualShaderNodeRandomRange

继承: VisualShaderNode < Resource < RefCounted < Object

生成伪随机标量的可视化着色器节点。

描述

随机范围节点,会根据种子输出指定范围内的伪随机标量值。如果给定的种子和范围相同,那么得到的值就始终相同,所以你应该提供不同的输入,例如使用时间作为输入。