struct
mesh_vertices_descriptionInitialization parameters for a mesh's vertices.
Constructors, destructors, conversion operators
- mesh_vertices_description() defaulted noexcept
- Default constructor. Does not initialize the members.
- operator bool() const explicit constexpr noexcept
- Returns true if the fields of this description are sufficient to describe a mesh's vertices.
Public variables
- size_t count
- The total number of vertices in the mesh.
-
mesh_
vertices_ channel_ description<3> positions - A description of the mesh's 'positions' vertex channel.
-
mesh_
vertices_ channel_ description<3> normals - A description of the mesh's 'normals' vertex channel.
-
mesh_
vertices_ channel_ description<2> uvs - A description of the mesh's 'uvs' vertex channel.
Compatibility with UE4
- mesh_vertices_description(const ::FStaticMeshVertexBuffers& buffers) noexcept
- Initializes the description from a set of UE4 vertex buffers.
- mesh_vertices_description(const ::FStaticMeshLODResources& lod) noexcept
- Initializes the description from a single LOD of a UE4 static mesh.
Friends
-
auto operator!=(const mesh_
vertices_ description& lhs, const mesh_ vertices_ description& rhs) -> bool constexpr noexcept - Returns true if two descriptions describe the same mesh vertices.
-
auto operator==(const mesh_
vertices_ description& lhs, const mesh_ vertices_ description& rhs) -> bool constexpr noexcept - Returns true if two descriptions describe the same mesh vertices.
Function documentation
stim:: mesh_vertices_description:: mesh_vertices_description() defaulted noexcept
Default constructor. Does not initialize the members.
stim:: mesh_vertices_description:: mesh_vertices_description(const ::FStaticMeshVertexBuffers& buffers) noexcept
Initializes the description from a set of UE4 vertex buffers.
stim:: mesh_vertices_description:: mesh_vertices_description(const ::FStaticMeshLODResources& lod) noexcept
Initializes the description from a single LOD of a UE4 static mesh.
Variable documentation
mesh_ vertices_ channel_ description<3> stim:: mesh_vertices_description:: positions
A description of the mesh's 'positions' vertex channel.
mesh_ vertices_ channel_ description<3> stim:: mesh_vertices_description:: normals
A description of the mesh's 'normals' vertex channel.
mesh_ vertices_ channel_ description<2> stim:: mesh_vertices_description:: uvs
A description of the mesh's 'uvs' vertex channel.