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:
parent
f83b238e5a
commit
23b35b99da
@ -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>
|
||||
|
20
documentation/Nodes/Maths/Vector/Project.md
Normal file
20
documentation/Nodes/Maths/Vector/Project.md
Normal 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|
|
||||
___
|
20
documentation/Nodes/Maths/Vector/ProjectOnPlane.md
Normal file
20
documentation/Nodes/Maths/Vector/ProjectOnPlane.md
Normal 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|
|
||||
___
|
Loading…
x
Reference in New Issue
Block a user