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¶
Inherits: VisualShaderNodeVectorBase < VisualShaderNode < Resource < RefCounted < Object
Returns the distance between two points. To be used within the visual shader graph.
描述¶
Calculates distance from point represented by vector p0
to vector p1
.
Translated to distance(p0, p1)
in the shader language.