On this page

Vector3 QML Type

Factory functions for constructing vector3 values. More...

Import Statement: import QtRos2.GeometryMsgs
Status: Experimental Extension

Methods

Detailed Description

A singleton helper (mirroring QtQuick3D's Quaternion type) that exposes the vector3 factory functions to QML. For example: Vector3.fromEulerAngles(0, 90, 0).

Method Documentation

vector3 fromVector3D(QVector3D v)

Construct from a single-precision QVector3D.

The components of v are widened to double precision.

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