Rebel Fork Framework
Urho3D::Decal Struct Reference

One decal in a decal set. More...

#include <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.
ea::vector< DecalVertex > vertices_
 Decal vertices.
ea::vector< unsigned short > indices_
 Decal indices.

Detailed Description

One decal in a decal set.


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