vecViewDir

A vector to be used in shaders, which gives the view direction. A8.41 vecViewDir.w contains the view arc in radians.

Remarks:

The Y and Z axes of those vectors are swapped due to the Acknex->DirectX coordinate system conversion.

Type

vector, read-only

See also:

Material, Pixel- & Vertex-Shader, Shader-predefined variables, float, floatd, floatr

 

► latest version online