Revision Difference
Global.EyeVector#545778
<function name="EyeVector" parent="Global" type="libraryfunc">
<description>
Returns the normal vector of the current render context as calculated by <page>GM:CalcView</page>, similar to <page>Global.EyeAngles</page>.
<bug issue="2516">This function is only reliable inside rendering hooks.</bug>
</description>
<realm>Client</realm>
<rets>
<ret name="" type="Vector">View direction of the currently rendered scene.</ret>
</rets>
</function>⤶
⤶
<example>⤶
<description>Print the view angles</description>⤶
<code>print( EyeVector() )</code>⤶
⤶
</example></function>