Struct SimOne_Data_Environment
Defined in File SimOneIOStruct.h
Struct Documentation
-
struct SimOne_Data_Environment
Public Members
-
float cloudDensity = 3
场景中云层覆盖的密度。取值范围为 [0, 10]。
Cloud coverage density in the scene. Range: [0, 10].
-
float cloudHeight = 1
场景中云层的高度系数。取值范围为 [0, 2]。
Cloud height coefficient in the scene. Range: [0, 2].
-
float cloudThickness = 1
场景中云层的厚度系数。取值范围为 [0.1, 2]。
Cloud thickness coefficient in the scene. Range: [0.1, 2].
-
int date = 20230921
场景中的日期。格式为yyyyMMdd。取值范围为 [18000101, 21001231]。当 simulateReality 为 true 时,用于确定天气模拟的日期。
Date in the scene, formatted as yyyyMMdd. Range: [18000101, 21001231]. Used when simulateReality is true.
-
float dustCoverage = 0
场景中尘埃覆盖的程度。取值范围为 [0, 1]。
Degree of dust coverage in the scene. Range: [0, 1].
-
float dustDensity = 0
场景中尘埃的密度。取值范围为 [0, 10]。
Density of dust in the scene. Range: [0, 10].
-
float dustDensityCoefficient = 300
尘埃密度系数。取值范围为 [0, 3000]。
Dust density coefficient. Range: [0, 3000].
-
float dustParticle = 0
尘埃粒子的大小系数。取值范围为 [0, 3]。
Dust particle size coefficient. Range: [0, 3].
-
float fogDensity = 3
场景中的雾密度。取值范围为 [0, 10]。
Density of the fog in the scene. Range: [0, 10].
-
float latitude = 31.2304
地理位置的纬度。取值范围为 [-90, 90]。当 simulateReality 为 true 时,用于确定天气模拟的位置。
Latitude of the weather simulation location. Range: [-90, 90]. Used when simulateReality is true.
-
float lineDamageLevel = 0
场景中道路标线的损坏程度。取值范围为 [0, 1]。
Degree of road line damage in the scene. Range: [0, 1].
-
float longitude = 121.4737
地理位置的经度。取值范围为 [-180, 180]。当 simulateReality 为 true 时,用于确定天气模拟的位置。
Longitude of the weather simulation location. Range: [-180, 180]. Used when simulateReality is true.
-
float moonAzimuth = 15
月亮方位角。取值范围为 [0, 360]。同 sunAzimuth 的属性描述相同。
Azimuth angle of the moon. Range: [0, 360]. Same as sunAzimuth.
-
float moonColorA = 0.87
场景中月亮颜色的 Alpha 通道。取值范围为 [0, 1]。
Alpha channel of the moon's color in the scene. Range: [0, 1].
-
int moonColorB = 239
场景中月亮颜色的蓝色通道。取值范围为 [0, 255]。
Blue channel of the moon's color in the scene. Range: [0, 255].
-
int moonColorG = 197
场景中月亮颜色的绿色通道。取值范围为 [0, 255]。
Green channel of the moon's color in the scene. Range: [0, 255].
-
int moonColorR = 178
场景中月亮颜色的红色通道。取值范围为 [0, 255]。
Red channel of the moon's color in the scene. Range: [0, 255].
-
float moonInclination = 35
月亮的倾斜角度。取值范围为 [-90, 90]。同 sunInclination 的属性描述相同。
Inclination angle of the moon. Range: [-90, 90]. Same as sunInclination.
-
float moonIntensity = 0.12
月光的强度。取值范围为 [0, 10]。
Intensity of the moonlight. Range: [0, 10].
-
float moonPhase = 0
场景中月相的阶段。取值范围为 [0, 30]。
Phase of the moon in the scene. Range: [0, 30].
-
float moonSize = 0.7
场景中月亮的大小。取值范围为 [0, 12]。
Size of the moon in the scene. Range: [0, 12].
-
float rainDensity = 3
场景中的雨密度。取值范围为 [0, 10]。
Density of rain in the scene. Range: [0, 10].
-
float raindropDensity = 2000
场景中雨滴的密度系数。取值范围为 [0, 20000]。
Raindrop density coefficient in the scene. Range: [0, 20000].
-
float raindropParticle = 1
场景中雨滴粒子的大小系数。取值范围为 [0, 3]。
Raindrop particle size coefficient in the scene. Range: [0, 3].
-
float roadDirtyLevel = 0
场景中道路的脏污程度。取值范围为 [0, 1]。
Degree of road dirtiness in the scene. Range: [0, 1].
-
float signDamageLevel = 0
场景中标志的损坏程度。取值范围为 [0, 1]。
Degree of sign damage in the scene. Range: [0, 1].
-
float signDirtyLevel = 0
场景中标志的脏污程度。取值范围为 [0, 1]。
Degree of sign dirtiness in the scene. Range: [0, 1].
-
bool simulateReality = true
是否使用地理位置、日期和时间属性来确定太阳、月亮和星星的位置。默认值为 true。
Whether to use the location, date, and time attributes to determine the position of the sun, moon, and stars. Default is true.
-
float snowCoverage = 0
场景中雪覆盖的程度。取值范围为 [0, 1]。
Degree of snow coverage in the scene. Range: [0, 1].
-
float snowDensity = 3
场景中的雪密度。取值范围为 [0, 10]。
Density of snow in the scene. Range: [0, 10].
-
float snowflakeDensity = 2000
场景中雪花的密度系数。取值范围为 [0, 30000]。
Snowflake density coefficient in the scene. Range: [0, 30000].
-
float snowflakeParticle = 1
场景中雪花粒子的大小系数。取值范围为 [0, 3]。
Snowflake particle size coefficient in the scene. Range: [0, 3].
-
float sunAzimuth = 0
太阳方位角。取值范围为 [0, 360]。从真北(0度)沿地平线顺时针测量角度以确定太阳的方向。当 simulateReality 为 true 时无效。
Azimuth angle of the sun. Range: [0, 360]. Measures the angle clockwise from true north (0) along the horizon to determine the sun's direction. Invalid when simulateReality is true.
-
float sunInclination = 30
太阳的倾斜角度。取值范围为 [-85, 85]。阳光入射方向与天顶方向之间的角度。当 simulateReality 为 true 时无效。
Inclination angle of the sun. Range: [-85, 85]. The angle between the sunlight's incident direction and the zenith. Invalid when simulateReality is true.
-
float sunIntensity = 5
太阳光的强度。取值范围为 [0, 30]。
Intensity of the sunlight. Range: [0, 30].
-
float sunSize = 1
场景中太阳的大小。取值范围为 [0, 5]。
Size of the sun in the scene. Range: [0, 5].
-
float thunderBrightness = 14
闪电的亮度。取值范围为 [1, 25]。
Brightness of the lightning. Range: [1, 25].
-
float thunderInterval = 7
闪电发生之间的时间间隔。取值范围为 [0, 10]。
Time interval between lightning occurrences. Range: [0, 10].
-
float thunderLightning = 0
场景中闪电的密度。取值范围为 [0, 10]。
Density of lightning in the scene. Range: [0, 10].
-
float timeOfDay = 1200
场景中的时间,格式为HHmm。取值范围为 [0, 2400]。
Time of day in the scene, formatted as HHmm. Range: [0, 2400].
-
int timeZone = 8
地理位置的时区。取值范围为 [-12, 12]。当 simulateReality 为 true 时,用于确定天气模拟的时区。
Time zone of the weather simulation location. Range: [-12, 12]. Used when simulateReality is true.
-
float wetness = 0
场景中雨水覆盖的程度。取值范围为 [0, 1]。
Degree of rain coverage in the scene. Range: [0, 1].
-
float windDensity = 3
场景中的风密度。取值范围为 [0, 10]。
Density of the wind in the scene. Range: [0, 10].
-
float windDirection = 180
场景中风的方向。取值范围为 [0, 360]。北方为 0 顺时针计算。
Direction the wind is blowing from. Range: [0, 360]. North is 0, clockwise.
-
float cloudDensity = 3