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.
Construct a new instance of VisualShaderNodeVectorDistance. Note: use memnew!VisualShaderNodeVectorDistance instead.
See Implementation
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.