跳转到内容

bakeLightOf

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

bakeLightOf(authored, position, rotation, linearColor?): BakeLightContribution | null

Defined in: sdk/src/lightmap/lights.ts:51

One authored Light as the bake takes it, or null where it contributes nothing.

An Ambient light is not a fourth kind of lamp: it occupies no slot and aims nowhere, so it comes back as the term every surface receives.

AuthoredLight | undefined

readonly [number, number, number]

number

number

number

number

boolean = false

BakeLightContribution | null