mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
BGE: Change KX_WolrdInfo mathutils vector to color
Change the mathutils callback from vector to color for mistColor, backgroundColor and ambientColor. Reviewers: lordloki, campbellbarton, panzergame, moguri, sybren Reviewed By: panzergame, moguri, sybren Projects: #game_engine, #game_logic Differential Revision: https://developer.blender.org/D1432
This commit is contained in:
parent
3dd83b533a
commit
bd6febc4c4
2 changed files with 38 additions and 38 deletions
|
|
@ -63,17 +63,17 @@ base class --- :class:`PyObjectPlus`
|
|||
The color of the mist. Black = [0.0, 0.0, 0.0], White = [1.0, 1.0, 1.0].
|
||||
Mist and background color sould always set to the same color.
|
||||
|
||||
:type: :class:`mathutils.Vector`
|
||||
:type: :class:`mathutils.Color`
|
||||
|
||||
.. attribute:: backgroundColor
|
||||
|
||||
The color of the background. Black = [0.0, 0.0, 0.0], White = [1.0, 1.0, 1.0].
|
||||
Mist and background color sould always set to the same color.
|
||||
|
||||
:type: :class:`mathutils.Vector`
|
||||
:type: :class:`mathutils.Color`
|
||||
|
||||
.. attribute:: ambientColor
|
||||
|
||||
The color of the ambient light. Black = [0.0, 0.0, 0.0], White = [1.0, 1.0, 1.0].
|
||||
|
||||
:type: :class:`mathutils.Vector`
|
||||
:type: :class:`mathutils.Color`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue