2019-04-15 20:49:41 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-02-01 09:03:48 +08:00
|
|
|
<class name="VisualShaderNodeVectorDistance" inherits="VisualShaderNode" version="4.0">
|
2019-04-15 20:49:41 +08:00
|
|
|
<brief_description>
|
2020-05-07 17:19:23 +08:00
|
|
|
Returns the distance between two points. To be used within the visual shader graph.
|
2019-04-15 20:49:41 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2020-05-07 17:19:23 +08: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 20:49:41 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
</class>
|