// // Created by HifiExperiments on 8/4/24 // Copyright 2024 Overte e.V. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #ifndef hifi_EntityShape_h #define hifi_EntityShape_h #include /*@jsdoc *

A "Shape", "Box", or "Sphere" {@link Entities.EntityType|EntityType} may * display as one of the following geometrical shapes:

* * * * * * * * * * * * * * * * * * * * *
ValueDimensionsNotes
"Circle"2DA circle oriented in 3D.
"Cone"3D
"Cube"3D
"Cylinder"3D
"Dodecahedron"3D
"Hexagon"3DA hexagonal prism.
"Icosahedron"3D
"Octagon"3DAn octagonal prism.
"Octahedron"3D
"Quad"2DA square oriented in 3D.
"Sphere"3D
"Tetrahedron"3D
"Torus"3DA donut shape.
"Triangle"3DA triangular prism.
* @typedef {string} Entities.Shape */ enum class EntityShape : uint8_t { Triangle, Quad, Hexagon, Octagon, Circle, Cube, Sphere, Tetrahedron, Octahedron, Dodecahedron, Icosahedron, Torus, Cone, Cylinder, NUM_SHAPES, }; class EntityShapeHelpers { public: static QString getNameForEntityShape(EntityShape shape); }; #endif // hifi_EntityShape_h