GridMesh QML Type▲
-
Import Statement: import QtQuick
-
Since:: Qt 5.0
-
Group: GridMesh is part of qtquick-effects
Detailed Description▲
GridMesh defines a rectangular mesh consisting of vertices arranged in an evenly spaced grid. It is used to generate geometry. The grid resolution is specified with the resolution property.
Property Documentation▲
resolution : size▲
This property holds the grid resolution. The resolution's width and height specify the number of cells or spacings between vertices horizontally and vertically respectively. The minimum and default is 1x1, which corresponds to four vertices in total, one in each corner. For non-linear vertex transformations, you probably want to set the resolution higher.
Result |
QML code |
gridmesh.vert |
---|---|---|
Sélectionnez
|
Sélectionnez
|