1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-01-07 01:43:35 +08:00

Documentation added for Project and ProjectOnPlane

This commit is contained in:
Digvijaysinh Gohil 2024-02-27 22:22:36 +05:30
parent f83b238e5a
commit 23b35b99da
3 changed files with 42 additions and 0 deletions

View File

@ -16,6 +16,8 @@ Delete the contents of **_addons/ShaderLib_** folder from your project. Make sur
<hr>
<details>
<summary><h3>Vector</h3></summary>
<h4><a href="/documentation/Nodes/Maths/Vector/Project.md">Project node</a></h4>
<h4><a href="/documentation/Nodes/Maths/Vector/ProjectOnPlane.md">Project On Plane node</a></h4>
<h4><a href="/documentation/Nodes/Maths/Vector/VectorTransform.md">Vector Transform node</a></h4>
</details>
<details>

View File

@ -0,0 +1,20 @@
# Project node
Projects <i><b>vector A</b></i> onto <i><b>vector B</b></i>.
<hr>
**Controls**
|Options|Description|
|---|---|---|
|Vector2, Vector3|Vector type to use for calculation|
**Inputs**
|Name|Type|Binding|Description|
|---|---|---|---|
|vector A|Dynamic vector|none|Vector to project|
|vector B|Dynamic vector|none|Vector on which vector A will be projected|
**Outputs**
|Name|Type|Binding|Description|
|---|---|---|---|
|out|vector3|None|Output vector|
___

View File

@ -0,0 +1,20 @@
# Project On Plane node
Projects a vector onto a plane defined by a normal orthogonal to the plane.
<hr>
**Controls**
|Options|Description|
|---|---|---|
|Vector2, Vector3|Vector type to use for calculation|
**Inputs**
|Name|Type|Binding|Description|
|---|---|---|---|
|vector|Dynamic vector|none|Vector to project|
|plane normal|Dynamic vector|none|Normal orthogonal of the plane|
**Outputs**
|Name|Type|Binding|Description|
|---|---|---|---|
|out|vector3|None|Output vector|
___