2019-04-15 14:49:41 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-08-05 18:51:38 +02:00
|
|
|
<class name="VisualShaderNodeVectorDistance" inherits="VisualShaderNode" version="3.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2019-04-15 14:49:41 +02:00
|
|
|
<brief_description>
|
2020-05-07 11:19:23 +02:00
|
|
|
Returns the distance between two points. To be used within the visual shader graph.
|
2019-04-15 14:49:41 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2020-05-07 11:19:23 +02:00
|
|
|
Calculates distance from point represented by vector [code]p0[/code] to vector [code]p1[/code].
|
|
|
|
Translated to [code]distance(p0, p1)[/code] in the shader language.
|
2019-04-15 14:49:41 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|