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.

VisualShaderNodeVectorDistance

繼承: VisualShaderNodeVectorBase < VisualShaderNode < Resource < RefCounted < Object

返回兩點之間的距離。用於視覺化著色器圖中。

說明

計算從向量 p0 表示的點到向量 p1 的距離。

在著色器語言中被轉換成 distance(p0, p1)