One decal in a decal set. More...

#include <DecalSet.h>

Collaboration diagram for Urho3D::Decal:

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< DecalVertexvertices_
 Decal vertices.
PODVector< unsigned short > indices_
 Decal indices.

Detailed Description

One decal in a decal set.

The documentation for this struct was generated from the following files:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Graphics/DecalSet.h
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Graphics/DecalSet.cpp