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.
Checking the stable version of the documentation...
VisualShaderNodeVectorDistance¶
继承: VisualShaderNodeVectorBase < VisualShaderNode < Resource < RefCounted < Object
返回两点之间的距离。用于可视化着色器图中。
描述¶
计算从向量 p0
表示的点到向量 p1
的距离。
在着色器语言中被转换成 distance(p0, p1)
。