2019-04-15 20:49:41 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-14 21:18:53 +08:00
|
|
|
<class name="VisualShaderNodeVectorDistance" inherits="VisualShaderNodeVectorBase" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
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>
|