Class: BiomeLighting experimental
biomeBeta
用于在「灵动视效」(Vibrant Visuals) 中影响光照。
Used to affect lighting for Vibrant Visuals
Methods
resetAmbientColor()
resetAmbientColor():
void
World Mutation Beta
Returns
void
Remarks
将环境光颜色重置为资源包所设置的值。
Resets the ambient color to the value set by resource packs
Throws
This function can throw errors.
resetAmbientIlluminance()
resetAmbientIlluminance():
void
World Mutation Beta
Returns
void
Remarks
将环境光照度重置为资源包所设置的值。
Resets the ambient illuminance to the value set by resource packs
Throws
This function can throw errors.
resetEmissiveDesaturation()
resetEmissiveDesaturation():
void
World Mutation Beta
Returns
void
Remarks
将自发光去饱和度重置为资源包所设置的值。
Resets the emissive desaturation to the value set by resource packs
Throws
This function can throw errors.
resetFlashColor()
resetFlashColor():
void
World Mutation Beta
Returns
void
Remarks
将闪光颜色重置为资源包所设置的值。
Resets the flash color to the value set by resource packs
Throws
This function can throw errors.
resetFlashIlluminance()
resetFlashIlluminance():
void
World Mutation Beta
Returns
void
Remarks
将闪光照度重置为资源包所设置的值。
Resets the flash illuminance to the value set by resource packs
Throws
This function can throw errors.
resetMoonColor()
resetMoonColor():
void
World Mutation Beta
Returns
void
Remarks
将月亮颜色重置为资源包所设置的值。
Resets the moon color to the value set by resource packs
Throws
This function can throw errors.
resetMoonIlluminance()
resetMoonIlluminance():
void
World Mutation Beta
Returns
void
Remarks
将月亮照度重置为资源包所设置的值。
Resets the moon illuminance to the value set by resource packs
Throws
This function can throw errors.
resetOrbitalOffsetDegrees()
resetOrbitalOffsetDegrees():
void
World Mutation Beta
Returns
void
Remarks
将轨道偏移角度重置为资源包所设置的值。
Resets the orbital offset to the value set by resource packs
Throws
This function can throw errors.
resetSkyIntensity()
resetSkyIntensity():
void
World Mutation Beta
Returns
void
Remarks
将天空强度重置为资源包所设置的值。
Resets the sky intensity to the value set by resource packs
Throws
This function can throw errors.
resetSunColor()
resetSunColor():
void
World Mutation Beta
Returns
void
Remarks
将太阳颜色重置为资源包所设置的值。
Resets the sun color to the value set by resource packs
Throws
This function can throw errors.
resetSunIlluminance()
resetSunIlluminance():
void
World Mutation Beta
Returns
void
Remarks
将太阳照度重置为资源包所设置的值。
Resets the sun illuminance to the value set by resource packs
Throws
This function can throw errors.
setAmbientColor()
setAmbientColor(
color):void
World Mutation Beta
Parameters
color
any
Returns
void
Remarks
为「灵动视效」中的光照设置环境光颜色。
Sets the ambient color for lighting in Vibrant Visuals
Throws
This function can throw errors.
setAmbientIlluminance()
setAmbientIlluminance(
illuminance):void
World Mutation Beta
Parameters
illuminance
number | Record<number, number>
Returns
void
Remarks
为「灵动视效」中的光照设置环境光照度。
Sets the ambient illuminance for lighting in Vibrant Visuals
Throws
This function can throw errors.
setEmissiveDesaturation()
setEmissiveDesaturation(
value):void
World Mutation Beta
Parameters
value
number
Returns
void
Remarks
为「灵动视效」中的光照设置自发光去饱和度。
Sets the emissive desaturation for lighting in Vibrant Visuals
Throws
This function can throw errors.
setFlashColor()
setFlashColor(
color):void
World Mutation Beta
Parameters
color
any
Returns
void
Remarks
为「灵动视效」中的光照设置闪光颜色。
Sets the flash color for lighting in Vibrant Visuals
Throws
This function can throw errors.
setFlashIlluminance()
setFlashIlluminance(
illuminance):void
World Mutation Beta
Parameters
illuminance
number | Record<number, number>
Returns
void
Remarks
为「灵动视效」中的光照设置闪光照度。
Sets the flash illuminance for lighting in Vibrant Visuals
Throws
This function can throw errors.
setMoonColor()
setMoonColor(
color):void
World Mutation Beta
Parameters
color
any
Returns
void
Remarks
为「灵动视效」中的光照设置月亮颜色。
Sets the moon color for lighting in Vibrant Visuals
Throws
This function can throw errors.
setMoonIlluminance()
setMoonIlluminance(
illuminance):void
World Mutation Beta
Parameters
illuminance
number | Record<number, number>
Returns
void
Remarks
为「灵动视效」中的光照设置月亮照度。
Sets the moon illuminance for lighting in Vibrant Visuals
Throws
This function can throw errors.
setOrbitalOffsetDegrees()
setOrbitalOffsetDegrees(
degrees):void
World Mutation Beta
Parameters
degrees
number | Record<number, number>
Returns
void
Remarks
为「灵动视效」中的光照设置轨道偏移。
Sets the orbital offset for lighting in Vibrant Visuals
Throws
This function can throw errors.
setSkyIntensity()
setSkyIntensity(
intensity):void
World Mutation Beta
Parameters
intensity
number | Record<number, number>
Returns
void
Remarks
为「灵动视效」中的光照设置天空强度。
Sets the sky intensity for lighting in Vibrant Visuals
Throws
This function can throw errors.
setSunColor()
setSunColor(
color):void
World Mutation Beta
Parameters
color
any
Returns
void
Remarks
为「灵动视效」中的光照设置太阳颜色。
Sets the sun color for lighting in Vibrant Visuals
Throws
This function can throw errors.
setSunIlluminance()
setSunIlluminance(
illuminance):void
World Mutation Beta
Parameters
illuminance
number | Record<number, number>
Returns
void
Remarks
为「灵动视效」中的光照设置太阳照度。
Sets the sun illuminance for lighting in Vibrant Visuals
Throws
This function can throw errors.
