Release notes version 0.0.5
tristan edited this page Sep 19, 2018
·
2 revisions
- New python API for world background: Previously, we had only one color for background in the bge. Since we have implemented viewport background, we needed 2 colors:
- horizon:
bge.logic.getCurrentScene().world.horizonColor = [r, g, b]
- zenith:
bge.logic.getCurrentScene().world.zenithColor = [r, g, b]
(for ImageRender background we use horizon = [r, g, b, a]
and zenith = [r, g, b, a]
)
- We added support for horizon and zenith colors animations with keyframes.