PixelLightAPI
.
|
#include <FixedFunctions.h>
Public Attributes | |
LightType::Enum | nType |
PLGraphics::Color4 | cAmbient |
PLGraphics::Color4 | cDiffuse |
PLGraphics::Color4 | cSpecular |
PLMath::Vector3 | vPosition |
PLMath::Vector3 | vDirection |
float | fCutOff |
float | fConstantAttenuation |
float | fLinearAttenuation |
float | fQuadraticAttenuation |
Light data.
Light source type (LightType, default: LightType::Point)
RGBA ambient color of light (default: 0.0/0.0/0.0/0.0)
RGBA diffuse color of light (default: 0.0/0.0/0.0/0.0)
RGBA specular color of light (default: 0.0/0.0/0.0/0.0)
x/y/z position of light in world space (default: 0.0/0.0/0.0)
x/y/z direction of light in world space (default: 0.0/0.0/0.0)
Cutoff range (default: 0.0)
Constant attenuation (default: 1.0)
Linear attenuation (default: 0.0)
Quadratic attenuation (default: 0.0)
|