2013-06-02 14:32:43 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* DirectionalLight.h *
|
|
|
|
* *
|
2013-07-12 21:30:13 +02:00
|
|
|
* XFX::Graphics::DirectionalLight class definition file *
|
2013-06-02 14:32:43 +02:00
|
|
|
* Copyright (c) XFX Team. All Rights Reserved *
|
|
|
|
*****************************************************************************/
|
2013-05-05 18:18:41 +02:00
|
|
|
#ifndef _XFX_GRAPHICS_DIRECTIONALLIGHT_
|
|
|
|
#define _XFX_GRAPHICS_DIRECTIONALLIGHT_
|
|
|
|
|
|
|
|
#include <System/Object.h>
|
|
|
|
#include "EffectParameter.h"
|
|
|
|
#include <Vector3.h>
|
|
|
|
|
2013-06-02 14:32:43 +02:00
|
|
|
using namespace System;
|
|
|
|
|
2013-05-05 18:18:41 +02:00
|
|
|
namespace XFX
|
|
|
|
{
|
|
|
|
namespace Graphics
|
|
|
|
{
|
2013-07-12 21:30:13 +02:00
|
|
|
/**
|
|
|
|
* Creates a DirectionalLight object.
|
|
|
|
*/
|
2013-05-05 18:18:41 +02:00
|
|
|
class DirectionalLight : public Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Vector3 DiffuseColor;
|
|
|
|
Vector3 Direction;
|
|
|
|
bool Enabled;
|
|
|
|
Vector3 SpecularColor;
|
|
|
|
|
2013-06-02 14:32:43 +02:00
|
|
|
DirectionalLight(EffectParameter * const directionParameter, EffectParameter * const diffuseColorParameter, EffectParameter * const specularColorParameter, DirectionalLight const * const cloneSource);
|
2013-05-05 18:18:41 +02:00
|
|
|
|
2013-07-12 21:30:13 +02:00
|
|
|
static const Type& GetType();
|
2013-05-05 18:18:41 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //_XFX_GRAPHICS_DIRECTIONALLIGHT_
|