![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
VGUI Widget: 3D View.
Public Member Functions | |
| void | vgui3DView (void) |
| nonvirtual vector | Get3DPos (void) |
| Return the 3D-space position our camera within the 3D view is located at. | |
| nonvirtual vector | Get3DAngles (void) |
| Return the angle that the camera within the 3D view is aiming at. | |
| nonvirtual void | Set3DPos (vector) |
| Sets the position of the camera within the 3D-space. | |
| nonvirtual void | Set3DAngles (vector) |
| Sets the angle of the camera within the 3D-space. | |
| nonvirtual void | SetDrawFunc (void(void)) |
| Sets the function to call in order to draw the scene. | |
| nonvirtual void | SetInputFunc (float(float, float, float, float)) |
| Sets the function to call for when input events happen within the 3D view. | |
| virtual void | Draw (void) |
| Called in order to draw the widget. | |
| virtual bool | Input (float, float, float, float) |
| Called whenever an input event gets directed to the widget. | |
| virtual void | Spawned (void) |
| Called when the widget has fully initialized. | |
| void vgui3DView::vgui3DView | ( | void | ) |
|
virtual |
Called in order to draw the widget.
Reimplemented from vguiWidget.
| vector vgui3DView::Get3DAngles | ( | void | ) |
Return the angle that the camera within the 3D view is aiming at.
| vector vgui3DView::Get3DPos | ( | void | ) |
Return the 3D-space position our camera within the 3D view is located at.
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from vguiWidget.
| void vgui3DView::Set3DAngles | ( | vector | vecAngles | ) |
Sets the angle of the camera within the 3D-space.
| void vgui3DView::Set3DPos | ( | vector | vecPos | ) |
Sets the position of the camera within the 3D-space.
| void vgui3DView::SetDrawFunc | ( | void(void) | vFunc | ) |
Sets the function to call in order to draw the scene.
| void vgui3DView::SetInputFunc | ( | float(float, float, float, float) | vFunc | ) |
Sets the function to call for when input events happen within the 3D view.
|
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.