|
Engine²
Open-source game engine written in C++.
|
Struct to hold parameters for creating a cylinder. More...
#include <CreateShape.hpp>
Public Attributes | |
| float | radiusTop = 0.5f |
| float | radiusBottom = 0.5f |
| Radius at the top (default: 0.5). | |
| float | height = 1.0f |
| Radius at the bottom (default: 0.5). | |
| glm::vec3 | position = glm::vec3(0.0f) |
| Height of the cylinder (default: 1.0). | |
| glm::quat | rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f) |
| Position in world space (default: origin). | |
| glm::vec3 | scale = glm::vec3(1.0f) |
| Rotation as quaternion (default: identity). | |
| uint32_t | segments = 32u |
| Scale factor (default: 1.0). | |
| uint32_t | heightSegments = 1u |
| Number of radial segments (default: 32). | |
Struct to hold parameters for creating a cylinder.
| float Object::Helper::CreateCylinderInfo::height = 1.0f |
Radius at the bottom (default: 0.5).
| uint32_t Object::Helper::CreateCylinderInfo::heightSegments = 1u |
Number of radial segments (default: 32).
| glm::vec3 Object::Helper::CreateCylinderInfo::position = glm::vec3(0.0f) |
Height of the cylinder (default: 1.0).
| float Object::Helper::CreateCylinderInfo::radiusBottom = 0.5f |
Radius at the top (default: 0.5).
| float Object::Helper::CreateCylinderInfo::radiusTop = 0.5f |
| glm::quat Object::Helper::CreateCylinderInfo::rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f) |
Position in world space (default: origin).
| glm::vec3 Object::Helper::CreateCylinderInfo::scale = glm::vec3(1.0f) |
Rotation as quaternion (default: identity).
| uint32_t Object::Helper::CreateCylinderInfo::segments = 32u |
Scale factor (default: 1.0).