Garry's Mod Wiki

RenderDoF

  RenderDoF( Vector origin, Angle angle, Vector usableFocusPoint, number angleSize, number radialSteps, number passes, boolean spin, table inView, number fov )

Description

Renders a Depth of Field effect

Arguments

1 Vector origin
Origin to render the effect at
2 Angle angle
Angle to render the effect at
3 Vector usableFocusPoint
Point to focus the effect at
4 number angleSize
Angle size of the effect
5 number radialSteps
Amount of radial steps to render the effect with
6 number passes
Amount of render passes
7 boolean spin
Whether to cycle the frame or not
8 table inView
Table of view data
9 number fov
FOV to render the effect with