Class mesh¶
Defined in File mesh.hpp
Class Documentation¶
-
class
legion::core
::
mesh
¶ Raw mesh representation.
Public Members
-
std::string
filePath
¶
-
std::vector<math::vec3>
vertices
¶
-
std::vector<math::vec3>
normals
¶
-
std::vector<math::vec2>
uvs
¶
-
std::vector<math::vec3>
tangents
¶
Public Static Functions
-
static void
to_resource
(filesystem::basic_resource *resource, const mesh &value)¶ Standard to resource conversion.
-
static void
from_resource
(mesh *value, const filesystem::basic_resource &resource)¶ Standard from resource conversion.
-
std::string