| [ Web Proxy ] |
| Viewing: https://docs.unity3d.com/ScriptReference/Unity.Mathematics.math-refract.html | [Back] [Original] |
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
| indexOfRefraction | Index of refraction. |
float2 Refraction vector.
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
| indexOfRefraction | Index of refraction. |
float3 Refraction vector.
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
| indexOfRefraction | Index of refraction. |
float4 Refraction vector.
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
| indexOfRefraction | Index of refraction. |
double2 Refraction vector.
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
| indexOfRefraction | Index of refraction. |
double3 Refraction vector.
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
| indexOfRefraction | Index of refraction. |
double4 Refraction vector.
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index.
| Web Proxy Viewer | New URL | Original Page |