VisualShaderNodeVectorDistance

Inherits: VisualShaderNodeVectorBase < VisualShaderNode < Resource < RefCounted < Object

Returns the distance between two points. To be used within the visual shader graph.

Description

Calculates distance from point represented by vector p0 to vector p1.

Translated to distance(p0, p1) in the shader language.

Previous Next


© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6.

Built with Sphinx using a theme provided by Read the Docs.