QGIS API Documentation 4.1.0-Master (70f46ec8b69)
Loading...
Searching...
No Matches
QgsMeshNodeData Struct Reference

Pairs a Qt3D geometry with its material and transform. More...

#include <qgs3dutils.h>

Public Attributes

std::unique_ptr< Qt3DCore::QGeometry > geometry
 Geometry.
std::unique_ptr< QgsMaterialmaterial
 Material.
QMatrix4x4 meshTransform
 Mesh space (raw coordinates) to object space transform.

Detailed Description

Pairs a Qt3D geometry with its material and transform.

Used as a return type when loading 3D model files (GLTF, OBJ).

Note
Not available in Python bindings
Since
QGIS 4.2

Definition at line 70 of file qgs3dutils.h.

Member Data Documentation

◆ geometry

std::unique_ptr<Qt3DCore::QGeometry> QgsMeshNodeData::geometry

Geometry.

Definition at line 72 of file qgs3dutils.h.

◆ material

std::unique_ptr<QgsMaterial> QgsMeshNodeData::material

Material.

Definition at line 73 of file qgs3dutils.h.

◆ meshTransform

QMatrix4x4 QgsMeshNodeData::meshTransform

Mesh space (raw coordinates) to object space transform.

Definition at line 74 of file qgs3dutils.h.


The documentation for this struct was generated from the following file: