Qt Graphs 다음과의 통합 Qt Quick 3D
3D용 Qt Graphs 는 Qt Quick 3D 를 기반으로 하므로, Qt Quick 3D 의 씬을 그래프에 통합할 수 있습니다.

씬 환경
그래프에서 Qt Quick 3D 장면 환경을 조정하려면, 그래프의 ` environment ` 속성에 다음과 같이 ` SceneEnvironment ` 또는 ` ExtendedSceneEnvironment `를 정의하십시오.
environment: ExtendedSceneEnvironment {
aoEnabled: true
aoDither: true
ditheringEnabled: true
lightProbe: Texture {
textureData: ProceduralSkyTextureData {
groundBottomColor: "black"
skyTopColor: "white"
}
}
backgroundMode: SceneEnvironment.SkyBox
lensFlareEnabled: true
lensFlareGhostCount: 10
lensFlareApplyStarburstTexture: true
lensFlareBloomBias: 0.4
}지원되지 않는 기능
앤티앨리어싱 모드나 씬 클리어 컬러를 재정의하는 기능은 작동하지 않으므로, SceneEnvironment.antialiasingMode 및 SceneEnvironment.clearColor 에 값을 설정해도 아무런 효과가 없습니다. 그러나 backgroundMode 가 SceneEnvironment.Color 로 설정되어 있지 않은 경우, 배경은 해당 설정의 영향을 받게 됩니다.
씬 통합
Qt Quick 3D 장면을 그래프에 통합하려면, 그래프의 ` importScene ` 속성을 다음 설정이 적용된 ` Node `로 설정하십시오:
importScene: Node {
Model {
scale: Qt.vector3d(0.01, 0.01, 0.01)
source: "#Sphere"
x: 2.5
z: 2
y: 1
castsReflections: false
receivesReflections: true
materials: [
PrincipledMaterial {
baseColor: "gold"
metalness: 1.0
roughness: 0.1
}
]
ReflectionProbe {
boxSize: Qt.vector3d(6, 3, 5)
boxOffset: Qt.vector3d(-1.5, -1, -1.5)
parallaxCorrection: true
quality: ReflectionProbe.High
}
}
Model {
scale: Qt.vector3d(0.01, 0.01, 0.01)
source: "#Sphere"
x: -2.5
z: -2
y: 1
castsReflections: false
receivesReflections: true
materials: [
PrincipledMaterial {
baseColor: "white"
metalness: 0.0
roughness: 0.0
transmissionFactor: 1.0
thicknessFactor: 50
}
]
}
}Nodes 를 그래프의 자식 노드로 직접 추가하는 것은 작동하지 않습니다. 그래프의 기본 자식 노드는 해당 시리즈이기 때문입니다.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.