Asterisk Class Reference
#include <Asterisk.h>
Inheritance diagram for Asterisk:
![](../class_asterisk.png)
# Public Types | |
typedef const AsteriskSpec | AsteriskROMSpec |
# Public Member Functions | |
void | constructor (Entity owner, const AsteriskSpec *asteriskSpec) |
override void | render (Vector3D relativePosition) |
override bool | draw () |
# Protected Attributes | |
PixelVector | position |
Position at which to draw the wireframe. | |
fixed_t | length |
Length of the asterisk's lines. | |
uint16 | scaledLength |
Used length of the asterisk's lines to draw them. |
# Additional Inherited Members | |
![]() | |
typedef const WireframeSpec | WireframeROMSpec |
![]() | |
void | constructor (Entity owner, const WireframeSpec *wireframeSpec) |
void | setDisplacement (Vector3D displacement) |
bool | isVisible () |
bool | prepareForRender (Vector3D *relativePosition, const Vector3D *cameraDirection) |
virtual VirtualList | getVertices () |
# Detailed Description
# Member Typedef Documentation
# AsteriskROMSpec
typedef const AsteriskSpec AsteriskROMSpec |
A Asterisk spec that is stored in ROM
Definition at line 37 of file Asterisk.h.
# Member Function Documentation
# constructor()
void Asterisk::constructor | ( | Entity | owner, |
const AsteriskSpec * | asteriskSpec ) |
Class' constructor
- Parameters
-
owner Entity to which the wireframe attaches to asteriskSpec Specification that determines how to configure the wireframe
Definition at line 25 of file Asterisk.c.
# draw()
|
virtual |
Draw the wireframe to the frame buffers.
- Returns
- True if at least one pixel is drawn; false otherwise
Implements Wireframe.
Definition at line 56 of file Asterisk.c.
# render()
|
virtual |
Prepare the wireframe for drawing.
- Parameters
-
relativePosition Position relative to the camera's
Reimplemented from Wireframe.
Definition at line 45 of file Asterisk.c.
# Member Data Documentation
# length
|
protected |
Length of the asterisk's lines.
Definition at line 56 of file Asterisk.h.
# position
|
protected |
Position at which to draw the wireframe.
Definition at line 53 of file Asterisk.h.
# scaledLength
|
protected |
Used length of the asterisk's lines to draw them.
Definition at line 59 of file Asterisk.h.
The documentation for this class was generated from the following files:
- VUEngine-Core/source/Component/VisualComponent/Wireframe/Asterisk/Asterisk.h
- VUEngine-Core/source/Component/VisualComponent/Wireframe/Asterisk/Asterisk.c