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

Public Member Functions

GResource< TextureGetDepthTexture () const
 
void AttachDepthTexture (const GResource< Texture > &texture)
 
Matrix4x4 GetMatrix (const Vector3 &center) const
 
void FollowViewport ()
 

Public Attributes

Vector3 Direction = MakeVector3(0.0f, 1.0f, 0.0f)
 
float ProjectionSize = 50.0f
 
- Public Attributes inherited from MxEngine::LightBase
Vector3 AmbientColor = MakeVector3(1.0f)
 
Vector3 DiffuseColor = MakeVector3(1.0f)
 
Vector3 SpecularColor = MakeVector3(1.0f)
 

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