ProceduralSkyTextureData QML Type
HDR 스카이박스 큐브맵을 생성합니다. 더 보기...
| Import Statement: | import QtQuick3D.Helpers |
| Inherits: |
속성
- groundBottomColor : color
- groundCurve : real
- groundEnergy : real
- groundHorizonColor : color
- skyCurve : real
- skyEnergy : real
- skyHorizonColor : color
- skyTopColor : color
- sunAngleMax : real
- sunAngleMin : real
- sunColor : color
- sunCurve : real
- sunEnergy : real
- sunLatitude : real
- sunLongitude : real
- textureQuality : SkyTextureQuality
상세 설명
이 헬퍼 타입은 HDR 형식의 라이트프로브/스카이박스 텍스처를 쉽게 생성할 수 있는 방법을 제공합니다. 라이트프로브 생성은 리소스 소모가 큰 작업으로, 임베디드 하드웨어에서는 상당한 시간이 소요될 수 있다는 점에 유의하십시오.
생성된 큐브맵은 하늘, 지면, 태양의 세 가지 요소로 구성됩니다. 하늘과 지면은 상반구와 하반구를 각각 덮습니다. 태양의 위치는 sunLatitude 및 sunLongitude 을 설정하여 지정할 수 있습니다.
View3D {
environment: SceneEnvironment {
backgroundMode: SceneEnvironment.SkyBox
lightProbe: Texture {
textureData: ProceduralSkyTextureData {
}
}
}
}
SceneEnvironment도 참조하십시오 .
속성 설명서
groundBottomColor : color
스카이박스 하단의 배경색을 지정합니다. 스카이박스의 하단 절반은 groundHorizonColor 에서 groundBottomColor 로 이어지는 그라데이션이 적용됩니다.
groundCurve : real
지형 경사의 곡선을 수정합니다.
groundEnergy : real
스카이박스 하단 절반의 밝기를 지정합니다. 지면 그라데이션 값에 이 계수가 곱해집니다.
groundHorizonColor : color
수평선 부근의 지면 색상을 지정합니다. 스카이박스의 하단 절반은 groundHorizonColor 에서 groundBottomColor 로 그라데이션이 적용됩니다.
skyCurve : real
하늘 그라데이션의 곡선을 수정합니다.
skyEnergy : real
스카이박스 상단 절반의 밝기를 지정합니다. 하늘의 그라데이션 값은 이 계수와 곱해집니다.
skyHorizonColor : color
수평선 부근의 하늘 색상을 지정합니다. 스카이박스의 상단 절반은 skyHorizonColor 에서 skyTopColor 로 이어지는 그라데이션으로 구성됩니다.
skyTopColor : color
스카이박스 상단의 하늘 색상을 지정합니다. 스카이박스의 상단 절반은 skyHorizonColor 에서 skyTopColor 로 이어지는 그라데이션을 가집니다.
sunAngleMax : real
태양 중심에서 태양이 완전히 사라지는 지점까지의 각도를 지정합니다.
sunAngleMin : real
태양 중심에서 빛이 희미해지기 시작하는 지점까지의 각도를 지정합니다.
sunColor : color
태양의 색상을 지정합니다.
sunCurve : real
태양 그라데이션의 곡선을 수정합니다.
sunEnergy : real
태양의 강도를 나타냅니다.
sunLatitude : real
수평선과 태양의 위치 사이의 각도를 지정합니다.
sunLongitude : real
전진 방향과 태양 위치 사이의 각도를 지정합니다.
textureQuality : SkyTextureQuality
이 속성은 하늘 텍스처의 품질을 설정합니다. 지원되는 값은 다음과 같습니다:
| 상수 | 설명 |
|---|---|
ProceduralSkyTextureData.SkyTextureQualityLow | 512x512 텍스처를 생성합니다 |
ProceduralSkyTextureData.SkyTextureQualityMedium | 1024x1024 텍스처 생성 |
ProceduralSkyTextureData.SkyTextureQualityHigh | 2048x2048 텍스처 생성 |
ProceduralSkyTextureData.SkyTextureQualityVeryHigh | 4096x4096 텍스처 생성 |
© 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.