Sphere mesh creation attributes. More...
#include <RadientMeshPrimitives.h>
Public Attributes | |
| const Char * | Name = nullptr |
| Mesh name. | |
| Float32 | Radius = 1.f |
| Sphere radius. The sphere is centered at the origin. | |
| Uint32 | Subdivisions = 16 |
| IRadientMaterialAsset * | pMaterial = nullptr |
| Default material assigned to the sphere primitive. | |
Sphere mesh creation attributes.
| Uint32 Diligent::RadientSphereMeshCreateInfo::Subdivisions = 16 |
Number of subdivisions per projected cube face. Zero uses one subdivision. Values above RADIENT_MESH_PRIMITIVE_MAX_SUBDIVISIONS return RADIENT_STATUS_INVALID_ARGUMENT before geometry is generated.