diff options
Diffstat (limited to 'examples/qt3d/bigmodel-qml/main.qml')
-rw-r--r-- | examples/qt3d/bigmodel-qml/main.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qt3d/bigmodel-qml/main.qml b/examples/qt3d/bigmodel-qml/main.qml index 18597f1f5..1266f8e9c 100644 --- a/examples/qt3d/bigmodel-qml/main.qml +++ b/examples/qt3d/bigmodel-qml/main.qml @@ -81,6 +81,7 @@ Entity { model: entityModel delegate: MyEntity { id: myEntity + name: "E" + index property real _lightness: 0.2 + 0.7 / collection._rows * Math.floor(index / collection.cols) property real _hue: (index % collection.cols) / collection.cols position: Qt.vector3d(collection.spacing * (index % collection.cols - 0.5 * (collection.cols - 1)), |