MxEngine
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MxEngine::PointLight Class Reference
Inheritance diagram for MxEngine::PointLight:
MxEngine::LightBase

Public Member Functions

PointLightUseFactors (const Vector3 &factors)
 
const Vector3 & GetFactors () const
 
float ComputeRadius () const
 
GResource< CubeMapGetDepthCubeMap () const
 
void AttachDepthCubeMap (const GResource< CubeMap > &cubemap)
 
Matrix4x4 GetMatrix (size_t index, const Vector3 &position) const
 

Public Attributes

float FarDistance = 1000.0f
 
- Public Attributes inherited from MxEngine::LightBase
Vector3 AmbientColor = MakeVector3(1.0f)
 
Vector3 DiffuseColor = MakeVector3(1.0f)
 
Vector3 SpecularColor = MakeVector3(1.0f)
 

Static Public Attributes

static constexpr size_t Constant = 0
 
static constexpr size_t Linear = 1
 
static constexpr size_t Quadratic = 2
 

The documentation for this class was generated from the following files: