[][src]Struct qt_3d_core::QJoint

#[repr(C)]
pub struct QJoint { /* fields omitted */ }

Used to transforms parts of skinned meshes.

C++ class: Qt3DCore::QJoint.

C++ documentation:

Used to transforms parts of skinned meshes.

The QJoint node is used to build skeletons as part of the skinned mesh support in Qt 3D. A joint can be transformed by way of its scale, rotation and translation properties. Any mesh vertices that are bound to the joint will have their transformations updated accordingly.

Methods

impl QJoint[src]

pub fn slot_set_scale(&self) -> Receiver<(*const QVector3D,)>[src]

Holds the scale of the joint.

Returns a built-in Qt slot Qt3DCore::QJoint::setScale that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the scale of the joint.

Access functions:

QVector3D scale() const
void setScale(const QVector3D &scale)

Notifier signal:

void scaleChanged(const QVector3D &scale)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn slot_set_rotation(&self) -> Receiver<(*const QQuaternion,)>[src]

Holds the rotation of the joint as QQuaternion.

Returns a built-in Qt slot Qt3DCore::QJoint::setRotation that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the rotation of the joint as QQuaternion.

Access functions:

QQuaternion rotation() const
void setRotation(const QQuaternion &rotation)

Notifier signal:

void rotationChanged(const QQuaternion &rotation)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn slot_set_translation(&self) -> Receiver<(*const QVector3D,)>[src]

Holds the translation of the joint as QVector3D.

Returns a built-in Qt slot Qt3DCore::QJoint::setTranslation that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the translation of the joint as QVector3D.

Access functions:

QVector3D translation() const
void setTranslation(const QVector3D &translation)

Notifier signal:

void translationChanged(const QVector3D &translation)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn slot_set_inverse_bind_matrix(&self) -> Receiver<(*const QMatrix4X4,)>[src]

Holds the inverse bind matrix of the joint. This is used to transform vertices from model space into the space of this joint so they can subsequently be multiplied by the joint's global transform to perform the skinning operation.

Returns a built-in Qt slot Qt3DCore::QJoint::setInverseBindMatrix that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the inverse bind matrix of the joint. This is used to transform vertices from model space into the space of this joint so they can subsequently be multiplied by the joint's global transform to perform the skinning operation.

Access functions:

QMatrix4x4 inverseBindMatrix() const
void setInverseBindMatrix(const QMatrix4x4 &inverseBindMatrix)

Notifier signal:

void inverseBindMatrixChanged(const QMatrix4x4 &inverseBindMatrix)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn slot_set_rotation_x(&self) -> Receiver<(c_float,)>[src]

Holds the x rotation of the joint as an Euler angle.

Returns a built-in Qt slot Qt3DCore::QJoint::setRotationX that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the x rotation of the joint as an Euler angle.

Access functions:

float rotationX() const
void setRotationX(float rotationX)

Notifier signal:

void rotationXChanged(float rotationX)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn slot_set_rotation_y(&self) -> Receiver<(c_float,)>[src]

Holds the y rotation of the joint as an Euler angle.

Returns a built-in Qt slot Qt3DCore::QJoint::setRotationY that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the y rotation of the joint as an Euler angle.

Access functions:

float rotationY() const
void setRotationY(float rotationY)

Notifier signal:

void rotationYChanged(float rotationY)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn slot_set_rotation_z(&self) -> Receiver<(c_float,)>[src]

Holds the z rotation of the joint as an Euler angle.

Returns a built-in Qt slot Qt3DCore::QJoint::setRotationZ that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the z rotation of the joint as an Euler angle.

Access functions:

float rotationZ() const
void setRotationZ(float rotationZ)

Notifier signal:

void rotationZChanged(float rotationZ)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn slot_set_name(&self) -> Receiver<(*const QString,)>[src]

Access functions:

Returns a built-in Qt slot Qt3DCore::QJoint::setName that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

QString name() const
void setName(const QString &name)

Notifier signal:

void nameChanged(const QString &name)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn slot_set_to_identity(&self) -> Receiver<()>[src]

Sets the transform matrix for this joint to the identity matrix.

Returns a built-in Qt slot Qt3DCore::QJoint::setToIdentity that can be passed to qt_core::Signal::connect.

C++ documentation:

Sets the transform matrix for this joint to the identity matrix.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn scale_changed(&self) -> Signal<(*const QVector3D,)>[src]

Holds the scale of the joint.

Returns a built-in Qt signal Qt3DCore::QJoint::scaleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the scale of the joint.

Access functions:

QVector3D scale() const
void setScale(const QVector3D &scale)

Notifier signal:

void scaleChanged(const QVector3D &scale)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn rotation_changed(&self) -> Signal<(*const QQuaternion,)>[src]

Holds the rotation of the joint as QQuaternion.

Returns a built-in Qt signal Qt3DCore::QJoint::rotationChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the rotation of the joint as QQuaternion.

Access functions:

QQuaternion rotation() const
void setRotation(const QQuaternion &rotation)

Notifier signal:

void rotationChanged(const QQuaternion &rotation)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn translation_changed(&self) -> Signal<(*const QVector3D,)>[src]

Holds the translation of the joint as QVector3D.

Returns a built-in Qt signal Qt3DCore::QJoint::translationChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the translation of the joint as QVector3D.

Access functions:

QVector3D translation() const
void setTranslation(const QVector3D &translation)

Notifier signal:

void translationChanged(const QVector3D &translation)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn inverse_bind_matrix_changed(&self) -> Signal<(*const QMatrix4X4,)>[src]

Holds the inverse bind matrix of the joint. This is used to transform vertices from model space into the space of this joint so they can subsequently be multiplied by the joint's global transform to perform the skinning operation.

Returns a built-in Qt signal Qt3DCore::QJoint::inverseBindMatrixChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the inverse bind matrix of the joint. This is used to transform vertices from model space into the space of this joint so they can subsequently be multiplied by the joint's global transform to perform the skinning operation.

Access functions:

QMatrix4x4 inverseBindMatrix() const
void setInverseBindMatrix(const QMatrix4x4 &inverseBindMatrix)

Notifier signal:

void inverseBindMatrixChanged(const QMatrix4x4 &inverseBindMatrix)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn rotation_x_changed(&self) -> Signal<(c_float,)>[src]

Holds the x rotation of the joint as an Euler angle.

Returns a built-in Qt signal Qt3DCore::QJoint::rotationXChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the x rotation of the joint as an Euler angle.

Access functions:

float rotationX() const
void setRotationX(float rotationX)

Notifier signal:

void rotationXChanged(float rotationX)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn rotation_y_changed(&self) -> Signal<(c_float,)>[src]

Holds the y rotation of the joint as an Euler angle.

Returns a built-in Qt signal Qt3DCore::QJoint::rotationYChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the y rotation of the joint as an Euler angle.

Access functions:

float rotationY() const
void setRotationY(float rotationY)

Notifier signal:

void rotationYChanged(float rotationY)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn rotation_z_changed(&self) -> Signal<(c_float,)>[src]

Holds the z rotation of the joint as an Euler angle.

Returns a built-in Qt signal Qt3DCore::QJoint::rotationZChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the z rotation of the joint as an Euler angle.

Access functions:

float rotationZ() const
void setRotationZ(float rotationZ)

Notifier signal:

void rotationZChanged(float rotationZ)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub fn name_changed(&self) -> Signal<(*const QString,)>[src]

Access functions:

Returns a built-in Qt signal Qt3DCore::QJoint::nameChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

QString name() const
void setName(const QString &name)

Notifier signal:

void nameChanged(const QString &name)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn add_child_joint(&mut self, joint: impl CastInto<MutPtr<QJoint>>)[src]

Adds joint as a child of this joint. If joint has no parent, then this joint takes ownership of it. Child joints are in the coordinate system of their parent joint.

Calls C++ function: void Qt3DCore::QJoint::addChildJoint(Qt3DCore::QJoint* joint).

C++ documentation:

Adds joint as a child of this joint. If joint has no parent, then this joint takes ownership of it. Child joints are in the coordinate system of their parent joint.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn child_joints(&self) -> CppBox<QVectorOfQJoint>[src]

The vector of joints this joint has as children.

Calls C++ function: QVector<Qt3DCore::QJoint*> Qt3DCore::QJoint::childJoints() const.

C++ documentation:

The vector of joints this joint has as children.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn inverse_bind_matrix(&self) -> CppBox<QMatrix4X4>[src]

Holds the inverse bind matrix of the joint. This is used to transform vertices from model space into the space of this joint so they can subsequently be multiplied by the joint's global transform to perform the skinning operation.

Calls C++ function: QMatrix4x4 Qt3DCore::QJoint::inverseBindMatrix() const.

C++ documentation:

Holds the inverse bind matrix of the joint. This is used to transform vertices from model space into the space of this joint so they can subsequently be multiplied by the joint's global transform to perform the skinning operation.

Access functions:

QMatrix4x4 inverseBindMatrix() const
void setInverseBindMatrix(const QMatrix4x4 &inverseBindMatrix)

Notifier signal:

void inverseBindMatrixChanged(const QMatrix4x4 &inverseBindMatrix)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DCore::QJoint::metaObject() const.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn name(&self) -> CppBox<QString>[src]

Access functions:

Calls C++ function: QString Qt3DCore::QJoint::name() const.

C++ documentation:

Access functions:

QString name() const
void setName(const QString &name)

Notifier signal:

void nameChanged(const QString &name)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn new_1a(parent: impl CastInto<MutPtr<QNode>>) -> CppBox<QJoint>[src]

Constructs a new QJoint with parent.

Calls C++ function: [constructor] void Qt3DCore::QJoint::QJoint(Qt3DCore::QNode* parent = …).

C++ documentation:

Constructs a new QJoint with parent.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn new_0a() -> CppBox<QJoint>[src]

Used to transforms parts of skinned meshes.

Calls C++ function: [constructor] void Qt3DCore::QJoint::QJoint().

C++ documentation:

Used to transforms parts of skinned meshes.

The QJoint node is used to build skeletons as part of the skinned mesh support in Qt 3D. A joint can be transformed by way of its scale, rotation and translation properties. Any mesh vertices that are bound to the joint will have their transformations updated accordingly.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn qt_metacall(
    &mut self,
    arg1: Call,
    arg2: c_int,
    arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]

Calls C++ function: virtual int Qt3DCore::QJoint::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn qt_metacast(
    &mut self,
    arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]

Calls C++ function: virtual void* Qt3DCore::QJoint::qt_metacast(const char* arg1).

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn remove_child_joint(
    &mut self,
    joint: impl CastInto<MutPtr<QJoint>>
)
[src]

Removes joint from this joint's list of children. The child joint is not destroyed.

Calls C++ function: void Qt3DCore::QJoint::removeChildJoint(Qt3DCore::QJoint* joint).

C++ documentation:

Removes joint from this joint's list of children. The child joint is not destroyed.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn rotation(&self) -> CppBox<QQuaternion>[src]

Holds the rotation of the joint as QQuaternion.

Calls C++ function: QQuaternion Qt3DCore::QJoint::rotation() const.

C++ documentation:

Holds the rotation of the joint as QQuaternion.

Access functions:

QQuaternion rotation() const
void setRotation(const QQuaternion &rotation)

Notifier signal:

void rotationChanged(const QQuaternion &rotation)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn rotation_x(&self) -> c_float[src]

Holds the x rotation of the joint as an Euler angle.

Calls C++ function: float Qt3DCore::QJoint::rotationX() const.

C++ documentation:

Holds the x rotation of the joint as an Euler angle.

Access functions:

float rotationX() const
void setRotationX(float rotationX)

Notifier signal:

void rotationXChanged(float rotationX)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn rotation_y(&self) -> c_float[src]

Holds the y rotation of the joint as an Euler angle.

Calls C++ function: float Qt3DCore::QJoint::rotationY() const.

C++ documentation:

Holds the y rotation of the joint as an Euler angle.

Access functions:

float rotationY() const
void setRotationY(float rotationY)

Notifier signal:

void rotationYChanged(float rotationY)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn rotation_z(&self) -> c_float[src]

Holds the z rotation of the joint as an Euler angle.

Calls C++ function: float Qt3DCore::QJoint::rotationZ() const.

C++ documentation:

Holds the z rotation of the joint as an Euler angle.

Access functions:

float rotationZ() const
void setRotationZ(float rotationZ)

Notifier signal:

void rotationZChanged(float rotationZ)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn scale(&self) -> CppBox<QVector3D>[src]

Holds the scale of the joint.

Calls C++ function: QVector3D Qt3DCore::QJoint::scale() const.

C++ documentation:

Holds the scale of the joint.

Access functions:

QVector3D scale() const
void setScale(const QVector3D &scale)

Notifier signal:

void scaleChanged(const QVector3D &scale)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_inverse_bind_matrix(
    &mut self,
    inverse_bind_matrix: impl CastInto<Ref<QMatrix4X4>>
)
[src]

Holds the inverse bind matrix of the joint. This is used to transform vertices from model space into the space of this joint so they can subsequently be multiplied by the joint's global transform to perform the skinning operation.

Calls C++ function: [slot] void Qt3DCore::QJoint::setInverseBindMatrix(const QMatrix4x4& inverseBindMatrix).

C++ documentation:

Holds the inverse bind matrix of the joint. This is used to transform vertices from model space into the space of this joint so they can subsequently be multiplied by the joint's global transform to perform the skinning operation.

Access functions:

QMatrix4x4 inverseBindMatrix() const
void setInverseBindMatrix(const QMatrix4x4 &inverseBindMatrix)

Notifier signal:

void inverseBindMatrixChanged(const QMatrix4x4 &inverseBindMatrix)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_name(&mut self, name: impl CastInto<Ref<QString>>)[src]

Access functions:

Calls C++ function: [slot] void Qt3DCore::QJoint::setName(const QString& name).

C++ documentation:

Access functions:

QString name() const
void setName(const QString &name)

Notifier signal:

void nameChanged(const QString &name)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_rotation(&mut self, rotation: impl CastInto<Ref<QQuaternion>>)[src]

Holds the rotation of the joint as QQuaternion.

Calls C++ function: [slot] void Qt3DCore::QJoint::setRotation(const QQuaternion& rotation).

C++ documentation:

Holds the rotation of the joint as QQuaternion.

Access functions:

QQuaternion rotation() const
void setRotation(const QQuaternion &rotation)

Notifier signal:

void rotationChanged(const QQuaternion &rotation)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_rotation_x(&mut self, rotation_x: c_float)[src]

Holds the x rotation of the joint as an Euler angle.

Calls C++ function: [slot] void Qt3DCore::QJoint::setRotationX(float rotationX).

C++ documentation:

Holds the x rotation of the joint as an Euler angle.

Access functions:

float rotationX() const
void setRotationX(float rotationX)

Notifier signal:

void rotationXChanged(float rotationX)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_rotation_y(&mut self, rotation_y: c_float)[src]

Holds the y rotation of the joint as an Euler angle.

Calls C++ function: [slot] void Qt3DCore::QJoint::setRotationY(float rotationY).

C++ documentation:

Holds the y rotation of the joint as an Euler angle.

Access functions:

float rotationY() const
void setRotationY(float rotationY)

Notifier signal:

void rotationYChanged(float rotationY)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_rotation_z(&mut self, rotation_z: c_float)[src]

Holds the z rotation of the joint as an Euler angle.

Calls C++ function: [slot] void Qt3DCore::QJoint::setRotationZ(float rotationZ).

C++ documentation:

Holds the z rotation of the joint as an Euler angle.

Access functions:

float rotationZ() const
void setRotationZ(float rotationZ)

Notifier signal:

void rotationZChanged(float rotationZ)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_scale(&mut self, scale: impl CastInto<Ref<QVector3D>>)[src]

Holds the scale of the joint.

Calls C++ function: [slot] void Qt3DCore::QJoint::setScale(const QVector3D& scale).

C++ documentation:

Holds the scale of the joint.

Access functions:

QVector3D scale() const
void setScale(const QVector3D &scale)

Notifier signal:

void scaleChanged(const QVector3D &scale)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_to_identity(&mut self)[src]

Sets the transform matrix for this joint to the identity matrix.

Calls C++ function: [slot] void Qt3DCore::QJoint::setToIdentity().

C++ documentation:

Sets the transform matrix for this joint to the identity matrix.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_translation(
    &mut self,
    translation: impl CastInto<Ref<QVector3D>>
)
[src]

Holds the translation of the joint as QVector3D.

Calls C++ function: [slot] void Qt3DCore::QJoint::setTranslation(const QVector3D& translation).

C++ documentation:

Holds the translation of the joint as QVector3D.

Access functions:

QVector3D translation() const
void setTranslation(const QVector3D &translation)

Notifier signal:

void translationChanged(const QVector3D &translation)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn tr(
    s: impl CastInto<Ptr<c_char>>,
    c: impl CastInto<Ptr<c_char>>,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DCore::QJoint::tr(const char* s, const char* c, int n).

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn tr_utf8(
    s: impl CastInto<Ptr<c_char>>,
    c: impl CastInto<Ptr<c_char>>,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DCore::QJoint::trUtf8(const char* s, const char* c, int n).

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn translation(&self) -> CppBox<QVector3D>[src]

Holds the translation of the joint as QVector3D.

Calls C++ function: QVector3D Qt3DCore::QJoint::translation() const.

C++ documentation:

Holds the translation of the joint as QVector3D.

Access functions:

QVector3D translation() const
void setTranslation(const QVector3D &translation)

Notifier signal:

void translationChanged(const QVector3D &translation)

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

Methods from Deref<Target = QNode>

pub fn slot_set_parent(&self) -> Receiver<(*mut QNode,)>[src]

Holds the immediate QNode parent, or null if the node has no parent.

Returns a built-in Qt slot Qt3DCore::QNode::setParent that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the immediate QNode parent, or null if the node has no parent.

Setting the parent will notify the backend aspects about current QNode instance's parent change.

Note: if parent happens to be null, this will actually notify that the current QNode instance was removed from the scene.

Access functions:

QNode *parentNode() const
void setParent(QNode *parent)

Notifier signal:

void parentChanged(QObject *parent)

pub fn slot_set_enabled(&self) -> Receiver<(bool,)>[src]

Holds the QNode enabled flag. By default a QNode is always enabled.

Returns a built-in Qt slot Qt3DCore::QNode::setEnabled that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the QNode enabled flag. By default a QNode is always enabled.

Note: the interpretation of what enabled means is aspect-dependent. Even if enabled is set to false, some aspects may still consider the node in some manner. This is documented on a class by class basis.

Access functions:

bool isEnabled() const
void setEnabled(bool isEnabled)

Notifier signal:

void enabledChanged(bool enabled)

pub fn slot_set_default_property_tracking_mode(
    &self
) -> Receiver<(PropertyTrackingMode,)>
[src]

Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.

Returns a built-in Qt slot Qt3DCore::QNode::setDefaultPropertyTrackingMode that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.

By default it is set to QNode::TrackFinalValues

Access functions:

PropertyTrackingMode defaultPropertyTrackingMode() const
void setDefaultPropertyTrackingMode(PropertyTrackingMode mode)

Notifier signal:

void defaultPropertyTrackingModeChanged(PropertyTrackingMode mode)

pub fn parent_changed(&self) -> Signal<(*mut QObject,)>[src]

Holds the immediate QNode parent, or null if the node has no parent.

Returns a built-in Qt signal Qt3DCore::QNode::parentChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the immediate QNode parent, or null if the node has no parent.

Setting the parent will notify the backend aspects about current QNode instance's parent change.

Note: if parent happens to be null, this will actually notify that the current QNode instance was removed from the scene.

Access functions:

QNode *parentNode() const
void setParent(QNode *parent)

Notifier signal:

void parentChanged(QObject *parent)

pub fn enabled_changed(&self) -> Signal<(bool,)>[src]

Holds the QNode enabled flag. By default a QNode is always enabled.

Returns a built-in Qt signal Qt3DCore::QNode::enabledChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the QNode enabled flag. By default a QNode is always enabled.

Note: the interpretation of what enabled means is aspect-dependent. Even if enabled is set to false, some aspects may still consider the node in some manner. This is documented on a class by class basis.

Access functions:

bool isEnabled() const
void setEnabled(bool isEnabled)

Notifier signal:

void enabledChanged(bool enabled)

pub fn default_property_tracking_mode_changed(
    &self
) -> Signal<(PropertyTrackingMode,)>
[src]

Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.

Returns a built-in Qt signal Qt3DCore::QNode::defaultPropertyTrackingModeChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.

By default it is set to QNode::TrackFinalValues

Access functions:

PropertyTrackingMode defaultPropertyTrackingMode() const
void setDefaultPropertyTrackingMode(PropertyTrackingMode mode)

Notifier signal:

void defaultPropertyTrackingModeChanged(PropertyTrackingMode mode)

pub fn node_destroyed(&self) -> Signal<()>[src]

emitted when the node is destroyed.

Returns a built-in Qt signal Qt3DCore::QNode::nodeDestroyed that can be passed to qt_core::Signal::connect.

C++ documentation:

emitted when the node is destroyed.

pub unsafe fn block_notifications(&mut self, block: bool) -> bool[src]

If block is true, property change notifications sent by this object to aspects are blocked. If block is false, no such blocking will occur.

Calls C++ function: bool Qt3DCore::QNode::blockNotifications(bool block).

C++ documentation:

If block is true, property change notifications sent by this object to aspects are blocked. If block is false, no such blocking will occur.

The return value is the previous value of notificationsBlocked().

Note that the other notification types will be sent even if the notifications for this object have been blocked.

See also notificationsBlocked().

pub unsafe fn child_nodes(&self) -> CppBox<QVectorOfQNode>[src]

Returns a list filled with the QNode children of the current QNode instance.

Calls C++ function: QVector<Qt3DCore::QNode*> Qt3DCore::QNode::childNodes() const.

C++ documentation:

Returns a list filled with the QNode children of the current QNode instance.

pub unsafe fn clear_property_tracking(
    &mut self,
    property_name: impl CastInto<Ref<QString>>
)
[src]

Clears the tracking property called propertyName.

Calls C++ function: void Qt3DCore::QNode::clearPropertyTracking(const QString& propertyName).

C++ documentation:

Clears the tracking property called propertyName.

pub unsafe fn clear_property_trackings(&mut self)[src]

Erases all values that have been saved by the property tracking.

Calls C++ function: void Qt3DCore::QNode::clearPropertyTrackings().

C++ documentation:

Erases all values that have been saved by the property tracking.

pub unsafe fn default_property_tracking_mode(&self) -> PropertyTrackingMode[src]

Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.

Calls C++ function: Qt3DCore::QNode::PropertyTrackingMode Qt3DCore::QNode::defaultPropertyTrackingMode() const.

C++ documentation:

Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.

By default it is set to QNode::TrackFinalValues

Access functions:

PropertyTrackingMode defaultPropertyTrackingMode() const
void setDefaultPropertyTrackingMode(PropertyTrackingMode mode)

Notifier signal:

void defaultPropertyTrackingModeChanged(PropertyTrackingMode mode)

pub unsafe fn id(&self) -> CppBox<QNodeId>[src]

Returns the id that uniquely identifies the QNode instance.

Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QNode::id() const.

C++ documentation:

Returns the id that uniquely identifies the QNode instance.

pub unsafe fn is_enabled(&self) -> bool[src]

Holds the QNode enabled flag. By default a QNode is always enabled.

Calls C++ function: bool Qt3DCore::QNode::isEnabled() const.

C++ documentation:

Holds the QNode enabled flag. By default a QNode is always enabled.

Note: the interpretation of what enabled means is aspect-dependent. Even if enabled is set to false, some aspects may still consider the node in some manner. This is documented on a class by class basis.

Access functions:

bool isEnabled() const
void setEnabled(bool isEnabled)

Notifier signal:

void enabledChanged(bool enabled)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DCore::QNode::metaObject() const.

pub unsafe fn notifications_blocked(&self) -> bool[src]

Returns true if aspect notifications are blocked; otherwise returns false. By default, notifications are not blocked.

Calls C++ function: bool Qt3DCore::QNode::notificationsBlocked() const.

C++ documentation:

Returns true if aspect notifications are blocked; otherwise returns false. By default, notifications are not blocked.

See also blockNotifications().

pub unsafe fn parent_node(&self) -> MutPtr<QNode>[src]

Holds the immediate QNode parent, or null if the node has no parent.

Calls C++ function: Qt3DCore::QNode* Qt3DCore::QNode::parentNode() const.

C++ documentation:

Holds the immediate QNode parent, or null if the node has no parent.

Setting the parent will notify the backend aspects about current QNode instance's parent change.

Note: if parent happens to be null, this will actually notify that the current QNode instance was removed from the scene.

Access functions:

QNode *parentNode() const
void setParent(QNode *parent)

Notifier signal:

void parentChanged(QObject *parent)

pub unsafe fn property_tracking(
    &self,
    property_name: impl CastInto<Ref<QString>>
) -> PropertyTrackingMode
[src]

See also setPropertyTracking().

Calls C++ function: Qt3DCore::QNode::PropertyTrackingMode Qt3DCore::QNode::propertyTracking(const QString& propertyName) const.

C++ documentation:

See also setPropertyTracking().

pub unsafe fn qt_metacall(
    &mut self,
    arg1: Call,
    arg2: c_int,
    arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]

Calls C++ function: virtual int Qt3DCore::QNode::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(
    &mut self,
    arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]

Calls C++ function: virtual void* Qt3DCore::QNode::qt_metacast(const char* arg1).

pub unsafe fn send_command_3a(
    &mut self,
    name: impl CastInto<Ref<QString>>,
    data: impl CastInto<Ref<QVariant>>,
    reply_to: c_ulonglong
) -> c_ulonglong
[src]

Sends a command messages to the backend node

Calls C++ function: unsigned long long Qt3DCore::QNode::sendCommand(const QString& name, const QVariant& data = …, unsigned long long replyTo = …).

C++ documentation:

Sends a command messages to the backend node

Creates a QNodeCommand message and dispatches it to the backend node. The command is given and a name and some data which can be used in the backend node to performe various operations. This returns a CommandId which can be used to identify the initial command when receiving a message in reply. If the command message is to be sent in reply to another command, replyTo contains the id of that command.

See also QNodeCommand and QNode::sendReply.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn send_command_2a(
    &mut self,
    name: impl CastInto<Ref<QString>>,
    data: impl CastInto<Ref<QVariant>>
) -> c_ulonglong
[src]

Sends a command messages to the backend node

Calls C++ function: unsigned long long Qt3DCore::QNode::sendCommand(const QString& name, const QVariant& data = …).

C++ documentation:

Sends a command messages to the backend node

Creates a QNodeCommand message and dispatches it to the backend node. The command is given and a name and some data which can be used in the backend node to performe various operations. This returns a CommandId which can be used to identify the initial command when receiving a message in reply. If the command message is to be sent in reply to another command, replyTo contains the id of that command.

See also QNodeCommand and QNode::sendReply.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn send_command_1a(
    &mut self,
    name: impl CastInto<Ref<QString>>
) -> c_ulonglong
[src]

Sends a command messages to the backend node

Calls C++ function: unsigned long long Qt3DCore::QNode::sendCommand(const QString& name).

C++ documentation:

Sends a command messages to the backend node

Creates a QNodeCommand message and dispatches it to the backend node. The command is given and a name and some data which can be used in the backend node to performe various operations. This returns a CommandId which can be used to identify the initial command when receiving a message in reply. If the command message is to be sent in reply to another command, replyTo contains the id of that command.

See also QNodeCommand and QNode::sendReply.

This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_default_property_tracking_mode(
    &mut self,
    mode: PropertyTrackingMode
)
[src]

Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.

Calls C++ function: [slot] void Qt3DCore::QNode::setDefaultPropertyTrackingMode(Qt3DCore::QNode::PropertyTrackingMode mode).

C++ documentation:

Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.

By default it is set to QNode::TrackFinalValues

Access functions:

PropertyTrackingMode defaultPropertyTrackingMode() const
void setDefaultPropertyTrackingMode(PropertyTrackingMode mode)

Notifier signal:

void defaultPropertyTrackingModeChanged(PropertyTrackingMode mode)

pub unsafe fn set_enabled(&mut self, is_enabled: bool)[src]

Holds the QNode enabled flag. By default a QNode is always enabled.

Calls C++ function: [slot] void Qt3DCore::QNode::setEnabled(bool isEnabled).

C++ documentation:

Holds the QNode enabled flag. By default a QNode is always enabled.

Note: the interpretation of what enabled means is aspect-dependent. Even if enabled is set to false, some aspects may still consider the node in some manner. This is documented on a class by class basis.

Access functions:

bool isEnabled() const
void setEnabled(bool isEnabled)

Notifier signal:

void enabledChanged(bool enabled)

pub unsafe fn set_parent(&mut self, parent: impl CastInto<MutPtr<QNode>>)[src]

Holds the immediate QNode parent, or null if the node has no parent.

Calls C++ function: [slot] void Qt3DCore::QNode::setParent(Qt3DCore::QNode* parent).

C++ documentation:

Holds the immediate QNode parent, or null if the node has no parent.

Setting the parent will notify the backend aspects about current QNode instance's parent change.

Note: if parent happens to be null, this will actually notify that the current QNode instance was removed from the scene.

Access functions:

QNode *parentNode() const
void setParent(QNode *parent)

Notifier signal:

void parentChanged(QObject *parent)

pub unsafe fn set_property_tracking(
    &mut self,
    property_name: impl CastInto<Ref<QString>>,
    track_mode: PropertyTrackingMode
)
[src]

See also propertyTracking().

Calls C++ function: void Qt3DCore::QNode::setPropertyTracking(const QString& propertyName, Qt3DCore::QNode::PropertyTrackingMode trackMode).

C++ documentation:

See also propertyTracking().

Trait Implementations

impl Deref for QJoint[src]

type Target = QNode

The resulting type after dereferencing.

fn deref(&self) -> &QNode[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DCore::QJoint* ptr).

impl DerefMut for QJoint[src]

fn deref_mut(&mut self) -> &mut QNode[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DCore::QJoint* ptr).

impl StaticUpcast<QNode> for QJoint[src]

unsafe fn static_upcast(ptr: Ptr<QJoint>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DCore::QJoint* ptr).

unsafe fn static_upcast_mut(ptr: MutPtr<QJoint>) -> MutPtr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DCore::QJoint* ptr).

impl StaticUpcast<QObject> for QJoint[src]

unsafe fn static_upcast(ptr: Ptr<QJoint>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DCore::QJoint* ptr).

unsafe fn static_upcast_mut(ptr: MutPtr<QJoint>) -> MutPtr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DCore::QJoint* ptr).

impl StaticDowncast<QJoint> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QJoint>[src]

Calls C++ function: Qt3DCore::QJoint* static_cast<Qt3DCore::QJoint*>(Qt3DCore::QNode* ptr).

unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<QJoint>[src]

Calls C++ function: Qt3DCore::QJoint* static_cast<Qt3DCore::QJoint*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QJoint> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QJoint>[src]

Calls C++ function: Qt3DCore::QJoint* static_cast<Qt3DCore::QJoint*>(QObject* ptr).

unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QJoint>[src]

Calls C++ function: Qt3DCore::QJoint* static_cast<Qt3DCore::QJoint*>(QObject* ptr).

impl DynamicCast<QJoint> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QJoint>[src]

Calls C++ function: Qt3DCore::QJoint* dynamic_cast<Qt3DCore::QJoint*>(Qt3DCore::QNode* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<QJoint>[src]

Calls C++ function: Qt3DCore::QJoint* dynamic_cast<Qt3DCore::QJoint*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QJoint> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QJoint>[src]

Calls C++ function: Qt3DCore::QJoint* dynamic_cast<Qt3DCore::QJoint*>(QObject* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QJoint>[src]

Calls C++ function: Qt3DCore::QJoint* dynamic_cast<Qt3DCore::QJoint*>(QObject* ptr).

impl CppDeletable for QJoint[src]

unsafe fn delete(&mut self)[src]

Calls C++ function: virtual [destructor] void Qt3DCore::QJoint::~QJoint().

Auto Trait Implementations

impl Send for QJoint

impl Sync for QJoint

impl Unpin for QJoint

impl UnwindSafe for QJoint

impl RefUnwindSafe for QJoint

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]