Showing the changes to libraries/script-engine/src/ModelScriptingInterface.h (1 of 8 files). Show all
Unified · Split
| @@ -37,6 +37,8 @@ public: · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | MeshPointer getMeshPointer() const { return _mesh; } | 38 | MeshPointer getMeshPointer() const { return _mesh; } |
| 39 | 39 | ||
| 40 | Q_INVOKABLE int getNumVertices() const { return _mesh->getNumVertices(); } | ||
| 41 | |||
| 40 | protected: | 42 | protected: |
| 41 | MeshPointer _mesh; | 43 | MeshPointer _mesh; |
| 42 | }; | 44 | }; |