Graphics class that represents a renderable element for our scene.
More...
Graphics class that represents a renderable element for our scene.
◆ Cull()
bool Nz::Renderable::Cull |
( |
const Frustumf & |
frustum, |
|
|
const Matrix4f & |
transformMatrix |
|
) |
| const |
|
virtual |
Culls the model if not in the frustum.
- Returns
- true If renderable is in the frustum
- Parameters
-
frustum | Symbolizing the field of view |
transformMatrix | Matrix transformation for our object |
Reimplemented in Nz::Light.
◆ GetBoundingVolume()
Gets the bounding volume.
- Returns
- Bounding volume of the renderable element
◆ UpdateBoundingVolume()
void Nz::Renderable::UpdateBoundingVolume |
( |
const Matrix4f & |
transformMatrix | ) |
|
|
virtual |
Updates the bounding volume by a matrix.
- Parameters
-
transformMatrix | Matrix transformation for our bounding volume |
Reimplemented in Nz::Light.
The documentation for this class was generated from the following files:
- include/Nazara/Graphics/Renderable.hpp
- include/Nazara/Graphics/Renderable.inl
- src/Nazara/Graphics/Renderable.cpp