16#ifndef QGSBILLBOARDGEOMETRY_H
17#define QGSBILLBOARDGEOMETRY_H
20#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
21#include <Qt3DRender/QGeometry>
22#include <Qt3DRender/QBuffer>
23#include <Qt3DRender/QAttribute>
25#include <Qt3DCore/QGeometry>
26#include <Qt3DCore/QBuffer>
27#include <Qt3DCore/QAttribute>
40#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
54 void setPoints(
const QVector<QVector3D> &vertices );
63#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
64 Qt3DRender::QAttribute *mPositionAttribute =
nullptr;
65 Qt3DRender::QBuffer *mVertexBuffer =
nullptr;
67 Qt3DCore::QAttribute *mPositionAttribute =
nullptr;
68 Qt3DCore::QBuffer *mVertexBuffer =
nullptr;
void countChanged(int count)
Signal when the number of points changed.
void setPoints(const QVector< QVector3D > &vertices)
Set the points for the billboard with vertices.
QgsBillboardGeometry(Qt3DCore::QNode *parent=nullptr)
Constructor of QgsBillboardGeometry.