For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-graphics/functions/getPlayerLighting.md.

Function: getPlayerLighting() experimental

player

getPlayerLighting(biome, player): BiomeLighting

World Mutation Beta

Parameters

biome

BiomeType

player

Player

Returns

BiomeLighting

Remarks

获取 PlayerLighting 组件,用于在「灵动视效」中控制特定玩家的光照。它提供与 BiomeLighting 相同的控制选项,但 PlayerLighting 的控制将始终优先于 BiomeLighting。

Retrieves the PlayerLighting component to control lighting for a particular player in Vibrant Visuals. This offers the same controls as BiomeLighting, but PlayerLighting controls will always take precedence over BiomeLighting.

同领域相关