48 virtual void SetupView(
void);
50 virtual void RenderView(
void);
53 virtual void StairSmooth(
void);
56 virtual void UpdateView(
void);
59 nonvirtual
void AddPunchAngle(
vector);
68 nonvirtual
void SetViewPosition(
vector);
70 nonvirtual
void SetViewSize(
vector);
72 nonvirtual
void SetViewTarget(
NSEntity);
77 nonvirtual
void SetClientOwner(
NSClient);
80 nonvirtual
void SetDrawLocalPlayer(
bool);
83 nonvirtual
void SetCameraOrigin(
vector);
85 nonvirtual
void SetCameraAngle(
vector);
87 nonvirtual
void SetClientAngle(
vector);
89 nonvirtual
void SetSeatID(
int);
91 nonvirtual
void SetAFOV(
float);
93 nonvirtual
float GetAFOV(
void);
95 nonvirtual
void SetSensitivity(
float);
97 nonvirtual
float GetSensitivity(
void);
100 nonvirtual
vector GetHUDCanvasSize(
void);
102 nonvirtual
vector GetHUDCanvasPos(
void);
105 nonvirtual
float GetViewWidth(
void);
107 nonvirtual
float GetViewHeight(
void);
110 nonvirtual
vector GetCameraOrigin(
void);
112 nonvirtual
vector GetCameraAngle(
void);
120 float m_flFieldOfView;
122 float m_flSensitivity;
132 bool m_bSetClientAngle;
134 bool m_bDrawLocalPlayer;
135 bool m_bDrawEntities;
NSView g_viewSeats[4]
one NSView for each seat
Definition: NSView.h:141
viewmode_t
The view mode type of the NSView.
Definition: NSView.h:31
@ VIEWMODE_FPS
uses view target position + view offset
Definition: NSView.h:33
@ VIEWMODE_NORMAL
just a regular camera with no special logic
Definition: NSView.h:32
@ VIEWMODE_SPECTATING
spectating, mixed viewmodes inside
Definition: NSView.h:35
@ VIEWMODE_THIRDPERSON
third person view, fixed
Definition: NSView.h:34
NSView g_view
the current seat run for each draw call, for each player.
Definition: NSView.h:144
This entity class is the lowest client/player class.
Definition: NSClient.h:24
NSEntity is the lowest of the user-accessible entity class.
Definition: NSEntity.h:52
This class represents 3D views, used for rendering the game.
Definition: NSView.h:43