#include <capped_tube_mesh.hpp>
Like TubeMesh but with end caps.
Definition at line 43 of file capped_tube_mesh.hpp.
◆ triangles_t
◆ vertices_t
◆ capped_tube_mesh_t()
capped_tube_mesh_t::capped_tube_mesh_t |
( |
double | radius = 1.0, |
|
|
double | innerRadius = 0.75, |
|
|
double | size = 1.0, |
|
|
int | slices = 32, |
|
|
int | segments = 8, |
|
|
int | rings = 1, |
|
|
double | start = 0.0, |
|
|
double | sweep = gml::radians(360.0) ) |
- Parameters
-
radius | The outer radius of the cylinder on the xy-plane. |
innerRadius | The inner radius of the cylinder on the xy-plane. |
size | Half of the length of the cylinder along the z-axis. |
slices | Number nubdivisions around the z-axis. |
segments | Number of subdivisions along the z-axis. |
rings | Number radial subdivisions in the cap. |
start | Counterclockwise angle around the z-axis relative to the x-axis. |
sweep | Counterclockwise angle around the z-axis. |
Definition at line 18 of file capped_tube_mesh.cpp.
◆ triangles()
triangles_t generator::capped_tube_mesh_t::triangles |
( |
| ) |
const |
|
inlinenoexcept |
◆ vertices()
vertices_t generator::capped_tube_mesh_t::vertices |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/capped_tube_mesh.hpp
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/capped_tube_mesh.cpp