Maratis Engine
Public Member Functions

MOLight Class Reference

#include <MOLight.h>

Inheritance diagram for MOLight:
MObject3d

List of all members.

Public Member Functions

 MOLight (void)
 ~MOLight (void)
 MOLight (const MOLight &light)
int getType (void)
void setLightType (M_LIGHT_TYPES lightType)
M_LIGHT_TYPES getLightType (void)
void castShadow (bool shadow)
void setShadowQuality (unsigned int shadowQuality)
void setShadowBias (float shadowBias)
void setShadowBlur (float shadowBlur)
bool isCastingShadow (void)
unsigned int getShadowQuality (void)
float getShadowBias (void)
float getShadowBlur (void)
void setRadius (float radius)
float getRadius (void)
void setIntensity (float intensity)
void setColor (const MVector3 &color)
float getIntensity (void)
MVector3getColor (void)
MVector3 getFinalColor (void) const
void setSpotAngle (float angle)
void setSpotExponent (float exponent)
float getSpotAngle (void)
float getSpotExponent (void)
void updateVisibility (MOCamera *camera)

Constructor & Destructor Documentation

MOLight::MOLight ( void  )
MOLight::~MOLight ( void  )
MOLight::MOLight ( const MOLight light)

Member Function Documentation

void MOLight::castShadow ( bool  shadow) [inline]
MVector3* MOLight::getColor ( void  ) [inline]
MVector3 MOLight::getFinalColor ( void  ) const [inline]
float MOLight::getIntensity ( void  ) [inline]
M_LIGHT_TYPES MOLight::getLightType ( void  ) [inline]
float MOLight::getRadius ( void  ) [inline]
float MOLight::getShadowBias ( void  ) [inline]
float MOLight::getShadowBlur ( void  ) [inline]
unsigned int MOLight::getShadowQuality ( void  ) [inline]
float MOLight::getSpotAngle ( void  ) [inline]
float MOLight::getSpotExponent ( void  ) [inline]
int MOLight::getType ( void  ) [inline, virtual]

Reimplemented from MObject3d.

bool MOLight::isCastingShadow ( void  ) [inline]
void MOLight::setColor ( const MVector3 color) [inline]
void MOLight::setIntensity ( float  intensity) [inline]
void MOLight::setLightType ( M_LIGHT_TYPES  lightType) [inline]
void MOLight::setRadius ( float  radius) [inline]
void MOLight::setShadowBias ( float  shadowBias) [inline]
void MOLight::setShadowBlur ( float  shadowBlur) [inline]
void MOLight::setShadowQuality ( unsigned int  shadowQuality) [inline]
void MOLight::setSpotAngle ( float  angle) [inline]
void MOLight::setSpotExponent ( float  exponent) [inline]
void MOLight::updateVisibility ( MOCamera camera) [virtual]

Reimplemented from MObject3d.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines