#include <operatingsystem.h>
Vertex Colors | |
| maxon::ColorA32 | a |
| maxon::ColorA32 | b |
| maxon::ColorA32 | c |
| maxon::ColorA32 | d |
Constructors | |
| VertexColorStruct () | |
| VertexColorStruct (_DONTCONSTRUCT dc) | |
| VertexColorStruct (const Vector &t_a, const Vector &t_b, const Vector &t_c, const Vector &t_d) | |
| VertexColorStruct (const maxon::Color32 &t_a, const maxon::Color32 &t_b, const maxon::Color32 &t_c, const maxon::Color32 &t_d) | |
| VertexColorStruct (const maxon::ColorA32 &t_a, const maxon::ColorA32 &t_b, const maxon::ColorA32 &t_c, const maxon::ColorA32 &t_d) | |
Get/Set Vertex Colors | |
| maxon::ColorA32 & | operator[] (Int32 index) const |
Default constructor.
Creates an empty vertex color data without constructing the vectors.
| [in] | dc | Dummy argument. Pass DC. |
| VertexColorStruct | ( | const Vector & | t_a, |
| const Vector & | t_b, | ||
| const Vector & | t_c, | ||
| const Vector & | t_d | ||
| ) |
Fills the vertex colors.
| [in] | t_a | The vertex color for the first point. |
| [in] | t_b | The vertex color for the second point. |
| [in] | t_c | The vertex color for the third point. |
| [in] | t_d | The vertex color for the fourth point. |
| VertexColorStruct | ( | const maxon::Color32 & | t_a, |
| const maxon::Color32 & | t_b, | ||
| const maxon::Color32 & | t_c, | ||
| const maxon::Color32 & | t_d | ||
| ) |
Fills the vertex colors.
| [in] | t_a | The vertex color for the first point. |
| [in] | t_b | The vertex color for the second point. |
| [in] | t_c | The vertex color for the third point. |
| [in] | t_d | The vertex color for the fourth point. |
| VertexColorStruct | ( | const maxon::ColorA32 & | t_a, |
| const maxon::ColorA32 & | t_b, | ||
| const maxon::ColorA32 & | t_c, | ||
| const maxon::ColorA32 & | t_d | ||
| ) |
Fills the vertex colors.
| [in] | t_a | The vertex color for the first point. |
| [in] | t_b | The vertex color for the second point. |
| [in] | t_c | The vertex color for the third point. |
| [in] | t_d | The vertex color for the fourth point. |
| maxon::ColorA32& operator[] | ( | Int32 | index | ) | const |
The vertex color for the first point.
The vertex color for the second point.
The vertex color for the third point.
The vertex color for the fourth point.