Unity Products:Amplify Shader Editor/ASin and Unity Products:Amplify Shader Editor/ATan: Difference between pages

From Amplify Creations Wiki
(Difference between pages)
Jump to navigation Jump to search
m (1 revision imported)
 
ampwiki>Amplify RnD Rick
No edit summary
 
Line 1: Line 1:
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]


== ASin Node ==
== ATan Node ==


The ASin node outputs the arcsine in radians of the value specified on its [[#paramInput|Input]]. The result value will be in the range [-π/2,π/2] assuming that the input value is in the [-1,1] range.
The ATan node outputs the arctangent in radians of the value specified on its [[#paramInput|Input]]. The result value will be in the range [-π/2,π/2].


ASin on multi-channel data types generates an output of the same type with the operator applied per-channel.
ATan on multi-channel data types generates an output of the same type with the operator applied per-channel.


<img class="responsive-img" src="http://wiki.amplify.pt/images/NodeDetail/ASinGraphicNode.png">
<img class="responsive-img" src="http://wiki.amplify.pt/images/NodeDetail/ATanGraphicNode.png">




Line 16: Line 16:
|- style="background: #e5e5e5;" |
|- style="background: #e5e5e5;" |
| id="paramInput" | Input
| id="paramInput" | Input
| Value to be used on the ''Arcsine'' calculation. Only visible if the respective input port is not connected.
| Value to be used on the ''Arctangent'' calculation. Only visible if the respective input port is not connected.
| 0
| 0
|}
|}
Line 25: Line 25:
|-  
|-  
| ''Input''
| ''Input''
| Value to be used on the ''Arcsine'' calculation.
| Value to be used on the ''Arctangent'' calculation.
| Float <sup id="ref1">[[#anchor|[1]]]</sup>
| Float <sup id="ref1">[[#anchor|[1]]]</sup>
|}
|}

Revision as of 17:11, 27 September 2017

Back to Node List

ATan Node

The ATan node outputs the arctangent in radians of the value specified on its Input. The result value will be in the range [-π/2,π/2].

ATan on multi-channel data types generates an output of the same type with the operator applied per-channel.


Node Parameter Description Default Value
Input Value to be used on the Arctangent calculation. Only visible if the respective input port is not connected. 0
Input Port Description Type
Input Value to be used on the Arctangent calculation. Float [1]



  1. ^ Port automatically adapts to all connection types except Matrices and Sampler types.

Back to Node List