Nuclide
Software Development Kit for id Tech
VGUI3DView Class Reference

VGUI Widget: 3D View. More...

Inheritance diagram for VGUI3DView:
VGUIWidget

Public Member Functions

void VGUI3DView (void)
 
nonvirtual vector Get3DPos (void)
 Return the 3D-space position our camera within the 3D view is located at. More...
 
nonvirtual vector Get3DAngles (void)
 Return the angle that the camera within the 3D view is aiming at. More...
 
nonvirtual void Set3DPos (vector)
 Sets the position of the camera within the 3D-space. More...
 
nonvirtual void Set3DAngles (vector)
 Sets the angle of the camera within the 3D-space. More...
 
nonvirtual void SetDrawFunc (void(void))
 Sets the function to call in order to draw the scene. More...
 
nonvirtual void SetInputFunc (float(float, float, float, float))
 Sets the function to call for when input events happen within the 3D view. More...
 
virtual void Draw (void)
 Called in order to draw the widget. More...
 
virtual bool Input (float, float, float, float)
 Called whenever an input event gets directed to the widget. More...
 
virtual void Spawned (void)
 Called when the widget has fully initialized. More...
 

Detailed Description

VGUI Widget: 3D View.

Constructor & Destructor Documentation

◆ VGUI3DView()

void VGUI3DView::VGUI3DView ( void  )

Member Function Documentation

◆ Draw()

void VGUI3DView::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from VGUIWidget.

◆ Get3DAngles()

vector VGUI3DView::Get3DAngles ( void  )

Return the angle that the camera within the 3D view is aiming at.

◆ Get3DPos()

vector VGUI3DView::Get3DPos ( void  )

Return the 3D-space position our camera within the 3D view is located at.

◆ Input()

bool VGUI3DView::Input ( float  flEVType,
float  flKey,
float  flChar,
float  flDevID 
)
virtual

Called whenever an input event gets directed to the widget.

Reimplemented from VGUIWidget.

◆ Set3DAngles()

void VGUI3DView::Set3DAngles ( vector  vecAngles)

Sets the angle of the camera within the 3D-space.

◆ Set3DPos()

void VGUI3DView::Set3DPos ( vector  vecPos)

Sets the position of the camera within the 3D-space.

◆ SetDrawFunc()

void VGUI3DView::SetDrawFunc ( void(void vFunc)

Sets the function to call in order to draw the scene.

◆ SetInputFunc()

void VGUI3DView::SetInputFunc ( float(float, float, float, float vFunc)

Sets the function to call for when input events happen within the 3D view.

◆ Spawned()

void VGUI3DView::Spawned ( void  )
virtual

Called when the widget has fully initialized.

When you override this, you may call super::Spawned(); to ensure the parent classes get to finish initializing also.

Reimplemented from VGUIWidget.


The documentation for this class was generated from the following file: