Documentation / Node reference / code nodes
code/Reflect
Outputs a direction reflected off a surface.
Vector
Outputs incident reflected about normal, the way a mirror bounces it. normal should have a length of 1.
Parameters
| Name | Type | What it does |
|---|---|---|
| incident | Vector3 | Direction arriving at the surface. |
| normal | Vector3 | Surface normal, of length 1. |
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.