Changeset View
Changeset View
Standalone View
Standalone View
doc/python_api/rst/bge.render.rst
| Context not available. | |||||
| :type rgba: list [r, g, b, a] | :type rgba: list [r, g, b, a] | ||||
| .. function:: getBackgroundColor() | |||||
| Gets the window background color. | |||||
| :rtype rgb: list [r, g, b] | |||||
| .. function:: setAmbientColor(rgb) | .. function:: setAmbientColor(rgb) | ||||
| Context not available. | |||||
| :type rgb: list [r, g, b] | :type rgb: list [r, g, b] | ||||
| .. function:: getAmbientColor() | |||||
| Gets the color of ambient light. | |||||
| :type rgb: list [r, g, b] | |||||
| .. function:: setMistColor(rgb) | .. function:: setMistColor(rgb) | ||||
| Context not available. | |||||
| :type rgb: list [r, g, b] | :type rgb: list [r, g, b] | ||||
| .. function:: getMistColor() | |||||
| Gets the mist color. | |||||
| :rtype rgb: list [r, g, b] | |||||
| .. function:: setMistType(mode) | .. function:: setMistType(mode) | ||||
| Context not available. | |||||
| :type mode: KX_MIST_QUADRATIC, KX_MIST_LINEAR, KX_MIST_INV_QUADRATIC | :type mode: KX_MIST_QUADRATIC, KX_MIST_LINEAR, KX_MIST_INV_QUADRATIC | ||||
| .. function:: getMistType(mode) | |||||
| Gets the mist attenuation type. | |||||
| :rtype: KX_MIST_QUADRATIC, KX_MIST_LINEAR, KX_MIST_INV_QUADRATIC | |||||
| .. function:: setMistStart(start) | .. function:: setMistStart(start) | ||||
| Context not available. | |||||
| :type start: float | :type start: float | ||||
| .. function:: getMistStart() | |||||
| Gets the mist start value. | |||||
| :rtype: float | |||||
| .. function:: setMistEnd(end) | .. function:: setMistEnd(end) | ||||
| Context not available. | |||||
| :type end: float | :type end: float | ||||
| .. function:: getMistEnd(end) | |||||
| Gets the mist end (distance) value. | |||||
| :rtype: float | |||||
| .. function:: setMistIntensity(intensity) | .. function:: setMistIntensity(intensity) | ||||
| Context not available. | |||||
| .. function:: disableMist() | .. function:: disableMist() | ||||
| .. function:: getMistIntensity() | |||||
| Gets the mist intensity value. | |||||
| :rtype: float | |||||
| Disables mist. | Disables mist. | ||||
| .. note:: Deprecated use setUseMist(). | .. note:: Deprecated use setUseMist(). | ||||
| Context not available. | |||||
| :type enable: boolean | :type enable: boolean | ||||
| .. function:: getUseMist() | |||||
| Return the state of the mist. | |||||
| :rtype: bool | |||||
| .. function:: setEyeSeparation(eyesep) | .. function:: setEyeSeparation(eyesep) | ||||
| Context not available. | |||||