QCuboidMesh Class

( Qt3DExtras::QCuboidMesh )

A cuboid mesh. 更多...

頭: #include <Qt3DExtras/QCuboidMesh>
qmake: QT += 3dextras
實例化: CuboidMesh
繼承: Qt3DRender::QGeometryRenderer

特性

公共函數

QCuboidMesh (Qt3DCore::QNode * parent = nullptr)
float xExtent () const
QSize xyMeshResolution () const
QSize xzMeshResolution () const
float yExtent () const
QSize yzMeshResolution () const
float zExtent () const

公共槽

void setXExtent (float xExtent )
void setXYMeshResolution (const QSize & resolution )
void setXZMeshResolution (const QSize & resolution )
void setYExtent (float yExtent )
void setYZMeshResolution (const QSize & resolution )
void setZExtent (float zExtent )

信號

void xExtentChanged (float xExtent )
void xyMeshResolutionChanged (const QSize & xyMeshResolution )
void xzMeshResolutionChanged (const QSize & xzMeshResolution )
void yExtentChanged (float yExtent )
void yzMeshResolutionChanged (const QSize & yzMeshResolution )
void zExtentChanged (float zExtent )

額外繼承成員

詳細描述

A cuboid mesh.

特性文檔編製

xExtent : float

Holds the x extent of the mesh.

訪問函數:

float xExtent () const
void setXExtent (float xExtent )

通知程序信號:

void xExtentChanged (float xExtent )

xyMeshResolution : QSize

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

訪問函數:

QSize xyMeshResolution () const
void setXYMeshResolution (const QSize & resolution )

通知程序信號:

void xyMeshResolutionChanged (const QSize & xyMeshResolution )

xzMeshResolution : QSize

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

訪問函數:

QSize xzMeshResolution () const
void setXZMeshResolution (const QSize & resolution )

通知程序信號:

void xzMeshResolutionChanged (const QSize & xzMeshResolution )

yExtent : float

Holds the y extent of the mesh.

訪問函數:

float yExtent () const
void setYExtent (float yExtent )

通知程序信號:

void yExtentChanged (float yExtent )

yzMeshResolution : QSize

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

訪問函數:

QSize yzMeshResolution () const
void setYZMeshResolution (const QSize & resolution )

通知程序信號:

void yzMeshResolutionChanged (const QSize & yzMeshResolution )

zExtent : float

Holds the z extent of the mesh.

訪問函數:

float zExtent () const
void setZExtent (float zExtent )

通知程序信號:

void zExtentChanged (float zExtent )

成員函數文檔編製

QCuboidMesh:: QCuboidMesh ( Qt3DCore::QNode * parent = nullptr)

Default constructs an instance of QCuboidMesh.