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

Decal vertex. More...

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

Collaboration diagram for Urho3D::DecalVertex:
[legend]

Public Member Functions

 DecalVertex ()=default
 Construct with defaults.
 
 DecalVertex (const Vector3 &position, const Vector3 &normal)
 Construct with position and normal.
 
 DecalVertex (const Vector3 &position, const Vector3 &normal, const float *blendWeights, const unsigned char *blendIndices)
 Construct with position, normal and skinning information.
 

Public Attributes

Vector3 position_
 Position.
 
Vector3 normal_
 Normal.
 
Vector2 texCoord_
 Texture coordinates.
 
Vector4 tangent_
 Tangent.
 
float blendWeights_ [4] {}
 Blend weights.
 
unsigned char blendIndices_ [4] {}
 Blend indices.
 

Detailed Description

Decal vertex.


The documentation for this struct was generated from the following file: