File: boundComponent.qml

package info (click to toggle)
qt6-quick3d 6.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 143,588 kB
  • sloc: cpp: 395,989; ansic: 41,469; xml: 288; sh: 242; makefile: 32
file content (13 lines) | stat: -rw-r--r-- 211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
pragma ComponentBehavior: Bound
import QtQml
import QtQuick3D

Node {
    id: root

    Loader3D {
        sourceComponent: Node {
            Component.onCompleted: root.objectName = "loaded"
        }
    }
}