ANSYS::Nexus::GLTFWriter::Mesh Class Reference
Last update: 17.04.2023Meshes define the renderable objects that can be added to a node. More...
#include <GLTFWriter.h>
Inheritance diagram for ANSYS::Nexus::GLTFWriter::Mesh:
Public Member Functions | |
virtual Mesh * | Mirror ()=0 |
virtual bool | AppendPrimitive (Primitive *primitive)=0 |
virtual unsigned int | NumPrimitives () const =0 |
Static Public Member Functions | |
static Mesh * | Create (GLTF *gltf) |
Detailed Description
Meshes define the renderable objects that can be added to a node.
Meshes are required for all renderable objects.
Definition at line 103 of file GLTFMesh.h.
Member Function Documentation
◆ AppendPrimitive()
|
pure virtual |
Appends a primitive object to a mesh. Primitives contain the renderable data of the mesh.
- Parameters
-
[in] primitive Primitive object.
- Examples
- Test011.cpp.
◆ Create()
Creates a mesh object.
- Returns
- Mesh object. Do not delete this pointer.
- Parameters
-
[in] gltf GLTF object.
- Examples
- Test001.cpp, Test002.cpp, Test003.cpp, Test004.cpp, Test005.cpp, Test006.cpp, Test007.cpp, Test008.cpp, Test009.cpp, Test010.cpp, Test011.cpp, Test012.cpp, Test013.cpp, and Test014.cpp.
◆ Mirror()
|
pure virtual |
◆ NumPrimitives()
|
pure virtual |
Returns number of primitives in mesh.
- Returns
- Number of primitives.
The documentation for this class was generated from the following file:
- D:/ANSYSDev/NoBackup/branches/EnSight-Second-Coming/webgl_viewer/gltfwriterlib/include/GLTFMesh.h