PixelLightAPI
.
|
Line box scene node. More...
#include <SNLineBox.h>
Public Types | |
enum | EFlags { No3DPosition = 1<<10, NoDepthTest = 1<<11 } |
Scene node flags (SceneNode flags extension) More... | |
Public Member Functions | |
PLS_API const PLMath::Vector3 & | GetEndPosition () const |
PLS_API void | SetEndPosition (const PLMath::Vector3 &vValue) |
PLS_API | SNLineBox () |
Default constructor. | |
virtual PLS_API | ~SNLineBox () |
Destructor. | |
virtual PLS_API void | DrawSolid (PLRenderer::Renderer &cRenderer, const VisNode *pVisNode=nullptr) override |
This function is called when the solid parts of the scene are drawn. | |
virtual PLS_API void | DrawTransparent (PLRenderer::Renderer &cRenderer, const VisNode *pVisNode=nullptr) override |
This function is called when the transparent parts of the scene are drawn. | |
Protected Member Functions | |
virtual PLS_API void | UpdateAABoundingBox () override |
Updates the axis align bounding box in 'scene node space'. |
Line box scene node.
Scene node flags (SceneNode flags extension)
No3DPosition |
The line box is not placed within 3D. If this flag is set, the node position is in 'screen space' between 0.0 and 1.0. |
NoDepthTest |
Do not perform a depth test |
Reimplemented from PLScene::SceneNode.
PLS_API PLScene::SNLineBox::SNLineBox | ( | ) |
Default constructor.
virtual PLS_API PLScene::SNLineBox::~SNLineBox | ( | ) | [virtual] |
Destructor.
PLS_API const PLMath::Vector3& PLScene::SNLineBox::GetEndPosition | ( | ) | const |
PLS_API void PLScene::SNLineBox::SetEndPosition | ( | const PLMath::Vector3 & | vValue | ) |
virtual PLS_API void PLScene::SNLineBox::DrawSolid | ( | PLRenderer::Renderer & | cRenderer, |
const VisNode * | pVisNode = nullptr |
||
) | [override, virtual] |
This function is called when the solid parts of the scene are drawn.
[in] | cRenderer | The used renderer |
[in] | pVisNode | The current visibility node of this scene node, can be a null pointer |
Reimplemented from PLScene::SceneNode.
virtual PLS_API void PLScene::SNLineBox::DrawTransparent | ( | PLRenderer::Renderer & | cRenderer, |
const VisNode * | pVisNode = nullptr |
||
) | [override, virtual] |
This function is called when the transparent parts of the scene are drawn.
[in] | cRenderer | The used renderer |
[in] | pVisNode | The current visibility node of this scene node, can be a null pointer |
Reimplemented from PLScene::SceneNode.
virtual PLS_API void PLScene::SNLineBox::UpdateAABoundingBox | ( | ) | [override, protected, virtual] |
Updates the axis align bounding box in 'scene node space'.
Reimplemented from PLScene::SceneNode.
|