Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
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
distance(p0, p1) in the shader language.