QBoxCollider Class

(Qt3D::QBoxCollider)

Represents a box used for collision detection More...

Header: #include <QBoxCollider>
Since: Qt 5.5
Instantiated By: BoxCollider
Inherits: QAbstractCollider

Properties

Public Functions

QBoxCollider(QNode * parent = 0)
~QBoxCollider()
QVector3D center() const
QVector3D radii() const

Public Slots

void setCenter(const QVector3D & center)
void setRadii(const QVector3D & radii)

Signals

void centerChanged(QVector3D center)
void radiiChanged(QVector3D radii)

Additional Inherited Members

Detailed Description

Represents a box used for collision detection

Property Documentation

center : QVector3D

Access functions:

QVector3D center() const
void setCenter(const QVector3D & center)

Notifier signal:

void centerChanged(QVector3D center)

radii : QVector3D

Access functions:

QVector3D radii() const
void setRadii(const QVector3D & radii)

Notifier signal:

void radiiChanged(QVector3D radii)

Member Function Documentation

QBoxCollider::QBoxCollider(QNode * parent = 0)

Constructs a new QBoxCollider instance with parent parent.

QBoxCollider::~QBoxCollider()

© 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.