跳转到内容

ProbeVolumeDocument

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

Defined in: sdk/src/lightmap/probeFile.ts:33

A solved grid: what a bake produces and what a load hands the engine.

optional bricks?: ArrayLike<number>

Defined in: sdk/src/lightmap/probeFile.ts:45

A sparse grid: four ints a brick (first finest-brick cell x, y, z and its span), and the irradiance and sky visibility then hold PROBES_PER_BRICK probes a brick, in turn. Absent for a dense grid.


irradiance: ArrayLike<number>

Defined in: sdk/src/lightmap/probeFile.ts:39

Nine RGB coefficients per probe, x fastest then y then z.


resolution: [number, number, number]

Defined in: sdk/src/lightmap/probeFile.ts:37

Probes along x, y and z.


optional skyVisibility?: ArrayLike<number>

Defined in: sdk/src/lightmap/probeFile.ts:42

Baked with sky occlusion: nine coefficients per probe of how much of the sky each sees, and the irradiance then holds the lights alone. Absent otherwise (the irradiance holds the sky as it was).


version: number

Defined in: sdk/src/lightmap/probeFile.ts:35

The version the file was written as; a document about to be written carries the one it will be.