U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::Decal Struct Reference

One decal in a decal set. More...

#include </var/dev/u3d/stable/Source/Urho3D/Graphics/DecalSet.h>

Collaboration diagram for Urho3D::Decal:
[legend]

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: