dl
dl::LightSpot类 参考

聚光灯 更多...

#include <dl_light.h>

Public 成员函数

void Render ()
 
void SetStrength (const Position3 &s)
 设置强度
 
void SetPosition (const Position3 &p)
 设置位置
 
void SetDirection (const Position3 &d)
 设置方向
 
void SetFalloff (const Position2 &falloff)
 设置衰减范围
 
void SetPower (float power)
 设置聚光灯强度
 
 LightSpot ()
 

友元

class VK
 

详细描述

聚光灯

在文件 dl_light.h104 行定义.

构造及析构函数说明

◆ LightSpot()

dl::LightSpot::LightSpot ( )
inline

在文件 dl_light.h151 行定义.

成员函数说明

◆ Render()

void dl::LightSpot::Render ( )

◆ SetDirection()

void dl::LightSpot::SetDirection ( const Position3 & d)
inline

设置方向

在文件 dl_light.h129 行定义.

◆ SetFalloff()

void dl::LightSpot::SetFalloff ( const Position2 & falloff)
inline

设置衰减范围

在文件 dl_light.h138 行定义.

◆ SetPosition()

void dl::LightSpot::SetPosition ( const Position3 & p)
inline

设置位置

在文件 dl_light.h121 行定义.

◆ SetPower()

void dl::LightSpot::SetPower ( float power)
inline

设置聚光灯强度

在文件 dl_light.h147 行定义.

◆ SetStrength()

void dl::LightSpot::SetStrength ( const Position3 & s)
inline

设置强度

在文件 dl_light.h113 行定义.

友元及相关符号说明

◆ VK

friend class VK
friend

在文件 dl_light.h106 行定义.


该类的文档由以下文件生成: