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++?
Forum Updated to NodeBB v4.3 + New Features

How to set Model:geometry from C++?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qt3d
1 Posts 1 Posters 278 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.
  • T Offline
    T Offline
    Tom asso
    wrote on 30 Apr 2020, 00:11 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

    1/1

    30 Apr 2020, 00:11

    • Login

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