Rasagar/Library/PackageCache/com.unity.shadergraph/Documentation~/View-Vector-Node.md

21 lines
788 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# View Vector Node
## Description
This node provides access to an unnormalized version of the mesh vertex or fragment's **View Direction** vector. It does not normalize any of the values it stores. For a normalized option, see [View Direction Node](View-Direction-Node.md).
Select a **Space** to modify the output value's coordinate space.
## Ports
| Name | Direction | Type | Binding | Description |
|:------------ |:-------------|:-----|:---|:---|
| Out | Output | Vector 3 | None |View Vector for the Mesh Vertex/Fragment. |
## Controls
| Name | Type | Options | Description |
|:------------ |:-------------|:-----|:---|
| Space | Dropdown | Object, View, World, Tangent | Selects coordinate space of **View Direction** to output. |