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 |
이 프로퍼티는 하늘 텍스처의 품질을 설정합니다. 지원되는 값은 다음과 같습니다:
Constant | 설명 |
---|---|
ProceduralSkyTextureData.SkyTextureQualityLow | 512x512 텍스처 생성 |
ProceduralSkyTextureData.SkyTextureQualityMedium | 1024x1024 텍스처 생성 |
ProceduralSkyTextureData.SkyTextureQualityHigh | 2048x2048 텍스처 생성 |
ProceduralSkyTextureData.SkyTextureQualityVeryHigh | 4096x4096 텍스처 생성 |
© 2025 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.