Cube mesh creation attributes. More...
#include <RadientMeshPrimitives.h>
Public Attributes | |
| const Char * | Name = nullptr |
| Mesh name. | |
| Float32 | Size = 1.f |
| Cube size. The cube is centered at the origin. | |
| Uint32 | Subdivisions = 1 |
| Number of subdivisions per face. Zero uses one subdivision. | |
| IRadientMaterialAsset * | pMaterial = nullptr |
| Default material assigned to the cube primitive. | |
| const RadientColorRGBA8 * | pFaceColors = nullptr |
Cube mesh creation attributes.
| const RadientColorRGBA8* Diligent::RadientCubeMeshCreateInfo::pFaceColors = nullptr |
Optional six face colors in +X, -X, +Y, -Y, +Z, -Z order. When null, the cube mesh does not include vertex colors.