|
U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
One decal in a decal set. More...
#include </var/dev/u3d/stable/Source/Urho3D/Graphics/DecalSet.h>
Public Member Functions | |
| Decal () | |
| Construct with defaults. | |
| void | AddVertex (const DecalVertex &vertex) |
| Add a vertex. | |
| void | CalculateBoundingBox () |
| Calculate local-space bounding box. | |
Public Attributes | |
| float | timer_ |
| Decal age timer. | |
| float | timeToLive_ |
| Maximum time to live in seconds (0 = infinite). | |
| BoundingBox | boundingBox_ |
| Local-space bounding box. | |
| PODVector< DecalVertex > | vertices_ |
| Decal vertices. | |
| PODVector< unsigned short > | indices_ |
| Decal indices. | |
One decal in a decal set.