跳转到内容

TimeOfDayData

此内容尚不支持你的语言。

Defined in: ecs/component.ts:1391

daySeconds: number

Defined in: ecs/component.ts:1395

Seconds a whole day takes while the game runs; 0 holds the hour where it is.


declination: number

Defined in: ecs/component.ts:1399

The season, in degrees, -23.5 (winter) .. 23.5 (summer) in the north.


drive: number

Defined in: ecs/component.ts:1403

What the time drives: the lights, the sky, the fog, the exposure, the reflections.


hour: number

Defined in: ecs/component.ts:1393

The hour of the day, 0..24 (12 is noon). The system advances it in play, and a value set here previews it in the editor.


latitude: number

Defined in: ecs/component.ts:1397

Where on the planet, in degrees (positive north): how high the noon sun climbs and how long a day is.


north: number

Defined in: ecs/component.ts:1401

How far the world is turned from compass north (+Z) toward +X, in degrees: which way the sun rises.