跳转到内容

BakedLightingData

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

Defined in: lightmap/components.ts:18

The fields of the BakedLighting component.

atlasSize: number

Defined in: lightmap/components.ts:20

Side of the square atlas, in texels.


bakedFrom: string

Defined in: lightmap/components.ts:35

What the last bake was OF. Empty until one has run; different from what the scene fingerprints to now means the light is out of date. The baker writes it — not readonly, which means “the engine computes this and the editor must not project it into the World”, and this is neither.


bounces: number

Defined in: lightmap/components.ts:25

How many times light is allowed to reflect. Zero is direct light only.


probeSamples: number

Defined in: lightmap/components.ts:30

Directions each probe gathers — over the whole sphere, so this buys less per ray than a lumel’s hemisphere does.


samples: number

Defined in: lightmap/components.ts:27

Rays each lumel gathers per bounce.


texelsPerUnit: number

Defined in: lightmap/components.ts:23

How finely a surface is lit, in texels per world unit. A world unit here is a design pixel, so a room is hundreds of them across.