QSphereCollider Class
(Qt3D::QSphereCollider)Represents a sphere used for collision detection More...
Header: | #include <QSphereCollider> |
Since: | Qt 5.5 |
Instantiated By: | SphereCollider |
Inherits: | QAbstractCollider |
Properties
Public Functions
QSphereCollider(QNode * parent = 0) | |
~QSphereCollider() | |
QVector3D | center() const |
float | radius() const |
Public Slots
Signals
void | centerChanged(QVector3D center) |
void | radiusChanged(float radius) |
- 3 signals inherited from Qt3D::QAbstractCollider
Additional Inherited Members
- 3 protected functions inherited from Qt3D::QAbstractCollider
Detailed Description
Represents a sphere used for collision detection
Property Documentation
center : QVector3D
Access functions:
QVector3D | center() const |
void | setCenter(const QVector3D & center) |
Notifier signal:
void | centerChanged(QVector3D center) |
radius : float
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
Member Function Documentation
QSphereCollider::QSphereCollider(QNode * parent = 0)
Constructs a new QSphereCollider instance with parent parent.
QSphereCollider::~QSphereCollider()
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.