|
Engine²
Open-source game engine written in C++.
|
Struct to hold parameters for creating a plane. More...
#include <CreateShape.hpp>
Public Attributes | |
| float | width = 1.0f |
| float | depth = 1.0f |
| Width of the plane (X axis, default: 1.0). | |
| glm::vec3 | position = glm::vec3(0.0f) |
| Depth of the plane (Z axis, 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 | subdivisionsX = 1u |
| Scale factor (default: 1.0). | |
| uint32_t | subdivisionsZ = 1u |
| Number of subdivisions along X (default: 1). | |
Struct to hold parameters for creating a plane.
| float Object::Helper::CreatePlaneInfo::depth = 1.0f |
Width of the plane (X axis, default: 1.0).
| glm::vec3 Object::Helper::CreatePlaneInfo::position = glm::vec3(0.0f) |
Depth of the plane (Z axis, default: 1.0).
| glm::quat Object::Helper::CreatePlaneInfo::rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f) |
Position in world space (default: origin).
| glm::vec3 Object::Helper::CreatePlaneInfo::scale = glm::vec3(1.0f) |
Rotation as quaternion (default: identity).
| uint32_t Object::Helper::CreatePlaneInfo::subdivisionsX = 1u |
Scale factor (default: 1.0).
| uint32_t Object::Helper::CreatePlaneInfo::subdivisionsZ = 1u |
Number of subdivisions along X (default: 1).
| float Object::Helper::CreatePlaneInfo::width = 1.0f |