1#if !defined(__FK_LIGHT_HEADER__)
2#define __FK_LIGHT_HEADER__
50#if !defined(FK_DOXYGEN_USER_PROCESS)
54 double attenuation[3];
55 double spotExponent, spotCutOff;
224 std::unique_ptr<Member> _m;
光源を管理するクラス
Definition Light.h:48
virtual ~fk_Light()
デストラクタ
double getSpotCutOff(void)
スポットライト効果範囲角度参照関数
void setSpotExponent(double alpha)
スポットライト減衰指数設定関数
fk_LightType getLightType(void)
光源タイプ取得関数
void setSpotCutOff(double theta)
スポットライト効果範囲角度設定関数
static const int MAXLIGHTNUM
光源最大数定数
Definition Light.h:221
double getSpotExponent(void)
スポットライト減衰指数参照関数
void setLightType(fk_LightType type)
光源タイプ設定関数
fk_Light(fk_LightType type=fk_LightType::PARALLEL)
コンストラクタ
void setAttenuation(double k_l, double k_q, double k_c=1.0)
減衰係数設定関数
double getAttenuation(int num)
減衰係数参照関数
形状用基底クラス
Definition Shape.h:44
Fine Kernel Toolkit 名前空間
Definition Angle.h:6
fk_LightType
光源タイプを表す列挙型
Definition Light.h:8