Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to set Model:geometry from C++?
Qt 6.11 is out! See what's new in the release blog

How to set Model:geometry from C++?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qt3d
1 Posts 1 Posters 312 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Tom assoT Offline
    Tom assoT Offline
    Tom asso
    wrote on last edited by Tom asso
    #1

    Looking at QtQuick 3D Model QML type, it has a "geometry" property that can be used to specify custom geometry for the model (used instead of the "source" property that specifies a mesh). The geometry property has type Geometry. How can I load the geometry data in C++ and then specify it as the Model:geometry property? Does anyone know of a working example?
    Thanks!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved