summaryrefslogtreecommitdiffstats
path: root/src/core/nodes/qentity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nodes/qentity.cpp')
-rw-r--r--src/core/nodes/qentity.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/nodes/qentity.cpp b/src/core/nodes/qentity.cpp
index 64ea65087..3c8805a67 100644
--- a/src/core/nodes/qentity.cpp
+++ b/src/core/nodes/qentity.cpp
@@ -77,6 +77,13 @@ namespace Qt3DCore {
\sa Qt3DCore::QComponent, Qt3DCore::QTransform
*/
+/*!
+ \fn template<typename T> QVector<T *> QEntity::componentsOfType() const
+
+ Returns all the components added to this entity that can be cast to
+ type T or an empty vector if there are no such components.
+*/
+
/*! \internal */
QEntityPrivate::QEntityPrivate()
: QNodePrivate()