Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_WorldInfo.cpp
| Context not available. | |||||
| return m_hasworld; | return m_hasworld; | ||||
| } | } | ||||
| bool KX_WorldInfo::hasMist() | |||||
| { | |||||
| return m_hasmist; | |||||
| } | |||||
| float KX_WorldInfo::getBackColorRed() | |||||
| { | |||||
| return m_backgroundcolor[0]; | |||||
| } | |||||
| float KX_WorldInfo::getBackColorGreen() | |||||
| { | |||||
| return m_backgroundcolor[1]; | |||||
| } | |||||
| float KX_WorldInfo::getBackColorBlue() | |||||
| { | |||||
| return m_backgroundcolor[2]; | |||||
| } | |||||
| float KX_WorldInfo::getAmbientColorRed() | |||||
| { | |||||
| return m_ambientcolor[0]; | |||||
| } | |||||
| float KX_WorldInfo::getAmbientColorGreen() | |||||
| { | |||||
| return m_ambientcolor[1]; | |||||
| } | |||||
| float KX_WorldInfo::getAmbientColorBlue() | |||||
| { | |||||
| return m_ambientcolor[2]; | |||||
| } | |||||
| short KX_WorldInfo::getMistType() | |||||
| { | |||||
| return m_misttype; | |||||
| } | |||||
| float KX_WorldInfo::getMistStart() | |||||
| { | |||||
| return m_miststart; | |||||
| } | |||||
| float KX_WorldInfo::getMistDistance() | |||||
| { | |||||
| return m_mistdistance; | |||||
| } | |||||
| float KX_WorldInfo::getMistIntensity() | |||||
| { | |||||
| return m_mistintensity; | |||||
| } | |||||
| float KX_WorldInfo::getMistColorRed() | |||||
| { | |||||
| return m_mistcolor[0]; | |||||
| } | |||||
| float KX_WorldInfo::getMistColorGreen() | |||||
| { | |||||
| return m_mistcolor[1]; | |||||
| } | |||||
| float KX_WorldInfo::getMistColorBlue() | |||||
| { | |||||
| return m_mistcolor[2]; | |||||
| } | |||||
| void KX_WorldInfo::setBackColor(float r, float g, float b) | void KX_WorldInfo::setBackColor(float r, float g, float b) | ||||
| { | { | ||||
| m_backgroundcolor[0] = r; | m_backgroundcolor[0] = r; | ||||
| Context not available. | |||||